const/invariant

Denton Cockburn diboss at hotmail.com
Tue Dec 4 22:46:21 PST 2007


given a class:

class C {}

what's the difference between:

const C c = new C;
and
invariant C c = new C;



More information about the Digitalmars-d-learn mailing list