
29 Jan
2011
29 Jan
'11
10:11 a.m.
At Fri, 28 Jan 2011 16:27:43 -0500, David Bergman wrote:
By the way, why can't we use "const_" as the prefix of whatever such a type would be called? Would it be too tempting to think "const foo" for "cost_foo"? Would that lead developers astray?
Yes. The kind of immutability Dean is proposing is very explicitly *not* what you get with const. -- Dave Abrahams BoostPro Computing http://www.boostpro.com