mirror of
https://github.com/boostorg/tuple.git
synced 2026-01-30 18:22:35 +01:00
On Linux, GNU's libstdc++, which is the default stdlib for icc and clang, cannot parse the <iomanip> header in version 4.5+ (which thankfully neither compiler advises the use of yet), as it's original C++98-friendly implementation has been replaced with a gnu++0x implementation. <boost/detail/iomanip.hpp> is a portable implementation of <iomanip>, providing boost::detail::setfill, boost::detail::setbase, boost::detail::setw, boost::detail::setprecision, boost::detail::setiosflags and boost::detail::resetiosflags. [SVN r68140]
To compile the libs/tuple/test/*.cpp files, you need to set include paths for boost. For example, in libs/tuple/test directory you would type (using g++): g++ -I../../.. tuple_test_bench.cpp The following is not true anymore: If you want to use tuple_io, you need to compile and link src/tuple.cpp: g++ -I../../.. ../src/tuple.cpp io_test.cpp Thanks to Hartmut Kaiser's suggestion, the tuple.cpp is not needed anymore.