Boost Users :
From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-08-15 16:36:05
"Peter Koch Larsen" <pkl_at_[hidden]> wrote in message
> Hi Thorsten
> I must say that I agree with Kevin (and the gcc compiler) here. A C-style
> cast is not only a const cast; it is a everything-cast...
>if the only
> purpose is to cast away const, be clear and use a const cast. I can see no
> compelling reason (except laziness) not to.
well, I'm pretty lazy :-)
I can't remember exactly why I did not use a const_cast...perhaps because
the current cast was more portable. somehow.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net