documenting compile-time constants
Rikki Cattermole via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Jul 6 20:30:10 PDT 2015
On 7/07/2015 1:05 p.m., Vlad Levenfeld wrote:
> How do I ddoc an enum constant? Putting ddoc comments above functions
> and structs woorks fine but ddocing an enum constant doesn't generate
> any documentation.
If:
///
enum MyValue = 8.2f;
does not generate documentation upon its creation, please file a bug.
If:
///
enum MyEnum {
///
MYValue = 8.2f
}
does not generate documentation upon its creation, please file a bug.
If:
///
enum MyEnum {
MYValue = 8.2f
}
does not generate documentation upon its creation, please see the
previous answer.
More information about the Digitalmars-d-learn
mailing list