How about 'pure' for constants?

Aziz K. aziz.kerim at gmail.com
Tue Dec 11 03:16:03 PST 2007


Introducing 'pure' as a new storage class for denoting manifest constants  
and functions without sideeffects sounds very good to me. I'd be happy  
with that solution. Much better than abusing the poor enum keyword. It  
just wants to enumerate stuff, can't you see it? Let's not be that cruel :)



More information about the Digitalmars-d mailing list