Boost logo

Boost Users :

From: Yuval Ronen (ronen_yuval_at_[hidden])
Date: 2005-02-22 01:50:51


> In addition to improving the docs, I'd say that it's even better to
> include the boost/none.hpp header with optional.hpp so it could be
> easily found and reached. As I understood, the reason why this is not
> done now, is because some compilers (such as Borland's) have troubles
> with initialized data and pre-compiled headers. If this is truely the
> case, then I think it's easily solved. Include as follows:
>
> #ifndef BOOST_OPTIONAL_DISCLUDE_NONE
> #include <boost/none.hpp>
> #endif

And I forgot BOOST_OPTIONAL_INCLUDE_NONE to force inclusion for Borland
users who don't use precompiled headers, or in general users who think
they know what they're doing.


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