digitalmars.D - DDoc Types
- Trevor Parscal (17/17) Dec 11 2006 I'm unsure if anyone has mentioned this before, but it would be quite ni...
- Brad Roberts (2/22) Dec 11 2006 see also: http://d.puremagic.com/issues/show_bug.cgi?id=644
I'm unsure if anyone has mentioned this before, but it would be quite nice if DDoc used the name of the type as it is in the code, rather than translating aliases to their real meanings. Example based on my real code: --- struct Dimensional2(T) { T x, y; alias x width; alias y height; } alias Dimensional2!(int) Position; alias Dimensional2!(int) Size; --- I get Dimensional2!(int) in my ddoc output whenever I use Size or Position, and it's hard to understand when reading the docs. Perhaps there could be a way to adjust this behavior?
Dec 11 2006
Trevor Parscal wrote:I'm unsure if anyone has mentioned this before, but it would be quite nice if DDoc used the name of the type as it is in the code, rather than translating aliases to their real meanings. Example based on my real code: --- struct Dimensional2(T) { T x, y; alias x width; alias y height; } alias Dimensional2!(int) Position; alias Dimensional2!(int) Size; --- I get Dimensional2!(int) in my ddoc output whenever I use Size or Position, and it's hard to understand when reading the docs. Perhaps there could be a way to adjust this behavior?see also: http://d.puremagic.com/issues/show_bug.cgi?id=644
Dec 11 2006