Boost logo

Boost Users :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-08-16 10:44:52


"Sohail Somani" <s.somani_at_[hidden]> wrote in message
news:1C1EBEF8DBACDC439D038EA051674EC709C3DA_at_xbox.financialcad.com...
> > -----Original Message-----
> > From: boost-users-bounces_at_[hidden]
> > [mailto:boost-users-bounces_at_[hidden]] On Behalf Of
> > David Abrahams

> > Incidentally, if you find that the proper C++ construct is
> > "less portable. somehow." you should use BOOST_WORKAROUND to
> > isolate the compiler for which it fails to work, if only so
> > that the reason for the workaround is documented.
>
> I thought the same thing but my name isnt Dave Abrahams and I don't have
> an important email address. Doh.

Well, your opinion is always welcome anyway :-)

Porting something to 10+ compilers is not always super easy.

And changing something that might break a regression is always something
I'm a bit reluctant to do. Yes, I've seen compilers where a reinterpret_cast
+ const_cast did not do what c-style cast would do. Don't ask me why. :-)

Anyway, let's see if it breaks anything.

-Thorsten


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