www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Ddoc and templates

reply markus_kranz gmx.net writes:
Hi!

# interface Foo(T) {
#   /**
#    * blabla...
#    */
#   T bar();
# }

Is there a reason why the html file generated by Ddoc (dmd -c -D foo.d) does not
contain the comment specified for method bar?

Without templates, everything works perfectly:

# interface IntFoo {
#   /**
#    * blabla...
#    */
#   int bar();
# }

Is there a way to get a similar result for the template version?

Best regards,
Markus
Oct 16 2005
parent reply "Walter Bright" <newshound digitalmars.com> writes:
<markus_kranz gmx.net> wrote in message
news:diu3rp$25ne$1 digitaldaemon.com...
 Is there a reason why the html file generated by Ddoc (dmd -c -D foo.d)

 contain the comment specified for method bar?

Looks like a problem with Ddoc.
Oct 16 2005
parent markus_kranz gmx.net writes:
In article <diu80o$291d$2 digitaldaemon.com>, Walter Bright says...
<markus_kranz gmx.net> wrote in message
news:diu3rp$25ne$1 digitaldaemon.com...
 Is there a reason why the html file generated by Ddoc (dmd -c -D foo.d)
 does not contain the comment specified for method bar?

Looks like a problem with Ddoc.

Thanks for your quick answer. And thank you very much for the excellent job you've done with D. Best regards, Markus
Oct 16 2005