|
Boost : |
From: Jonathan Turkanis (technews_at_[hidden])
Date: 2004-09-18 14:19:07
"Rob Stewart" <stewart_at_[hidden]> wrote in message:
> From: David Abrahams <dave_at_[hidden]>:
> >
> > I was wrong. Sorry.
>
> So was I, it seems. You can use static_cast to *add* const.
> Thanks Jonathan!
>
> Having said that, why not use const_cast and avoid the confusion
> in the first place?
When I was writing it I initially typed 'const_cast', but then thought to
myself: why use my big guns if I don't have to? ;-)
Jonathan
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk