15 Jan
2006
15 Jan
'06
7:16 p.m.
On 15 Jan 2006 14:53:00 +0000, Jens Theisen
So it's purpose is to abbreviate a const_cast. Still useful.
It's more readable and documents better the code too. Since const_cast can take consts away, but const_ only makes it const, and easier to use in generic code, since you dont need to rewrite the instance's type to be able to add const to it.
Jens
-- Felipe Magno de Almeida