const class

bearophile via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Nov 26 05:47:42 PST 2014


Oleg:

> how create variable that store const object and can be changed 
> to other const object?

Take a look at std.typecons.Rebindable/std.typecons.rebindable.

Read all Phobos documentation, it helps.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list