Subject: [boost] std::tuple vs boost::tuple clashes in C++0x
From: Christopher Jefferson (chris_at_[hidden])
Date: 2011-04-05 11:16:17
Just wanted to post a general comment, to boost library developers.
There are lots of names which in C++0x occur in both boost:: and std::. The big ones are tuple, make_tuple and array, but there are others (for example locking functions from thread).
I am fixing bugs which occur in the C++0x mode of clang/libc++, and the vast majority of these bugs are tests which write things like:
using namespace boost;
using namespace std;
Even if you don't include <tuple>, a definition of tuple gets pulled in by <utility>, which almost everything includes.
Please don't write "using namespace std; using namespace boost;" in boost tests. You probably shouldn't write it at all :)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk