DIP85: Lazy Initialization of const Members

Marc Schütz via Digitalmars-d digitalmars-d at puremagic.com
Sat Nov 14 06:30:31 PST 2015


http://wiki.dlang.org/DIP85

This DIP proposes an officially sanctioned way to initialize 
const members (or mutable members of const structs) lazily by 
allowing limited mutation of const objects.

Destroy!


More information about the Digitalmars-d mailing list