ddoc10
-
Declaration
struct
Foo
(T);
structFoo
(T, U);The foo
-
Declaration
int
func1
(T)(Tx
);This basic case doesn't work very well. The template signature is documented twice, but the function signature (argument names and return type) is not documented at all. This comment is also repeated twice.
-
Declaration
int
func2
(T, U)(Tx
, Uy
);
intfunc2
(T)(Tx
);This comment is also repeated twice, and the second function signature is not very well documented.
-
Declaration
int
func2
()();Separate overload item.
-
Declaration
int
func3
(T, U)(Tx
, Uy
);
intfunc3
(T, U = int, V : long)(Tx
);This used to work adequately and documented both
func3
templates simultaneously. Now, it documents the first template twice and no longer documents the function argument and return types. -
Declaration
void
map
(charrs
);
voidmap
(intrs
);blah
-
Declaration
void
map2
()(charrs
);
voidmap2
()(intrs
);blah
-
Declaration
void
map3
(charrs
);blah http://www.map3.com
map3
-
Declaration
void
map4
(string s)(charrs
);blah http://www.map.com map
-
Declaration
template
map5
(string s)blah http://www.map.com map
-
Declaration
struct
bar6
;blah
-
Declaration
struct
Foo7
(T); -
Declaration
abstract class
Foo8
;show abstract
-
Declaration
void
bug4878
(stringa
= ")");a
stray ) mustn't foul the macros -
Declaration
struct
S
; -
Declaration
float
f10
(floata
, floatb
);Produces something in (
a
;b
] -
Declaration
float
h10
(floata
, floatb
);Produces something in [
a
;b
) -
Declaration
void
bug6090
(string f = "$(B b)", char g = ')')(stringh
= "$(", stringi
= "$)"); -
Declaration
struct
T
; -
Declaration
int
x14547
;
enum inty14547
;doc-comment
-
Declaration
enum auto
isInt14547
(T);
enum boolisString14547
(T);
static immutabletypeName14547
(T);
intstorageFor14547
(T);doc-comment
-
Declaration
enum int
foo14547
(T);
templatebar14547
(T) if (is(T == int))doc-comment