Kendi projemde tıpkı standart gibi güzel dökümantasyon yapmak istiyorum. Bu nedenle std.algorithm 'e falan bakıp bir şeyler yapmaya çalıyorum.
Örneğin std.algorithm.findAdjacent :
/**
Advances $(D r) until it finds the first two adjacent elements $(D a),
$(D b) that satisfy $(D pred(a, b)). Performs $(BIGOH r.length)
evaluations of $(D pred).
Params:
pred = The predicate to satisfy.
r = A $(REF_ALTTEXT forward range, isForwardRange, std,range,primitives) to
search in.
Returns:
$(D r) advanced to the first occurrence of two adjacent elements that satisfy
the given predicate. If there are no such two elements, returns $(D r) advanced
until empty.
See_Also:
$(HTTP sgi.com/tech/stl/adjacent_find.html, STL's adjacent_find)
*/
Range findAdjacent(alias pred = "a == b", Range)(Range r)
Daha önce doxygen ile dökümantasyon yazmış biri olarak bu biraz karışık geldi.
Acaba
bool GetOrderBook( string name, string txName, double level, out OrderBook orderBook );
Gibi olan fonksiyonumu açıklama, parametreler ve dönüş değerlerini nasıl dökümante edebilirim ?
Erdemdem .
--
[ Bu gönderi, http://ddili.org/forum'dan dönüştürülmüştür. ]
Permalink
Reply