|
Boost : |
Subject: Re: [boost] the <boost/detail/iomanip.hpp> header (please use it)
From: Peter Dimov (pdimov_at_[hidden])
Date: 2011-01-14 10:08:27
Bryce Lelbach wrote:
> On Linux, both clang and icc use GNU's C++ standard library by default. As
> of version 4.5 of GNU's stdlib, a new implementation of the <iomanip>
> header has been added, which makes use of C++0x features which only GCC
> supports (the latest versions of clang, e.g. a very recent nightly build,
> might work; intel certainly won't). The refactored <iomanip> header in
> GNU's stdlib does not detect C++0x support and fallback on the old C++98
> friendly code, which unfortunately leaves clang-linux and intel-linux
> users in a bit of a bind. In particular, this plagues clang users on Linux
> as clang will use the latest available version of the GNU stdlib by
> default, meaning most users cannot have both gcc-4.5 and clang installed
> without problems.
>
> I have implemented the <iomanip> header in <boost/detail/iomanip.hpp>,
> under the boost::detail namespace (to avoid conflicts with system
> <iomanip> headers that users/other code might include).
Is this something that we really need to address? This problem has much
wider scope than just Boost, and is of a temporary nature.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk