On 2/6/11 9:01 PM, Jonathan M Davis wrote:
Then why does version(D_Ddoc) even exist? It's _built in_.

It's good for one's own projects to detect whether documentation is being generated.

And honestly, I don't
know how else you could do it. In cases such as when a function only exists on
one OS, you _must_ use version(D_Ddoc) if you want it to show up on the
documentation when generating it on other OSes. I don't know how it could be
designed otherwise without doing something drastically different with ddoc.

Granted, the situation is not entirely ideal, but I don't see any way around it
without just plain doing ddoc differently.

See my other emails. It's a really simple problem.


Andrei
_______________________________________________
dmd-beta mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta

Reply via email to