www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - deprecated enum members

reply Vathix <vathix dprogramming.com> writes:
Feature suggestion,


enum Foo
{
    THINGS = 23, // New name.
    deprecated STUFF = THINGS, // Old name.
}


How about it? Might want to also allow private/public/package.
Jun 15 2005
parent Thomas Kuehne <thomas-dloop kuehne.this-is-spam.cn> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Vathix schrieb am Wed, 15 Jun 2005 03:21:52 -0400:
 Feature suggestion,


 enum Foo
 {
     THINGS = 23, // New name.
     deprecated STUFF = THINGS, // Old name.
 }


 How about it? Might want to also allow private/public/package.
Usefull and should be easy to implement. Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFCsx503w+/yD4P9tIRAi6jAJ0QWbX4qQNs9amLRkhdHSA+G8HA4QCgw9J7 0VKii68OX5hbttf11rR/9vY= =ogqM -----END PGP SIGNATURE-----
Jun 17 2005