Boost logo

Boost Users :

From: Eric Niebler (eric_at_[hidden])
Date: 2006-01-15 17:25:46

Felipe Magno de Almeida wrote:
> On 15 Jan 2006 14:53:00 +0000, Jens Theisen <jens-theisen_at_[hidden]> wrote:
>>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

Then perhaps it should be called "add_const".

Eric Niebler
Boost Consulting

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at