XCPPCoder wrote:
What's the diff between immutable and const?
Very shortly: immutable means "never changes", "const" means "may not be changed through this reference".
Some more information: http://www.digitalmars.com/d/2.0/const3.html Ali
XCPPCoder wrote:
What's the diff between immutable and const?
Very shortly: immutable means "never changes", "const" means "may not be changed through this reference".
Some more information: http://www.digitalmars.com/d/2.0/const3.html Ali