Fixing enum names in Phobos
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Thu Aug 4 05:33:55 PDT 2011
On 8/4/11 12:16 AM, Jonathan M Davis wrote:
> So, does anyone actually have an opinion on this? Should we fix the names or
> not?
We should probably fix the names. A migration path is to simply keep
both names for a year or so and remove documentation for old names. For
example:
enum Variadic {
no, /// doc
NO = no,
c, /// doc
C = c,
d, /// doc
D = d,
typesafe, /// doc
TYPESAFE = typesafe
}
Andrei
More information about the Digitalmars-d
mailing list