
5 Apr
2011
5 Apr
'11
3:16 p.m.
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; .... tuple<int,int> t; 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 :) Chris