Avoid ambiguites between std and boost components in C++0x mode. Fixes #3026

[SVN r53212]
This commit is contained in:
Steven Watanabe
2009-05-23 16:49:33 +00:00
parent 08277fd057
commit e89ea11d63
3 changed files with 9 additions and 12 deletions

View File

@ -21,7 +21,6 @@
#include <string>
#include <utility>
using namespace std;
using namespace boost;
// ----------------------------------------------------------------------------
@ -274,7 +273,7 @@ make_tuple_test()
BOOST_CHECK(get<1>(t1) == 'a');
tuple<int, std::string> t2;
t2 = make_tuple((short int)2, std::string("Hi"));
t2 = boost::make_tuple((short int)2, std::string("Hi"));
BOOST_CHECK(get<0>(t2) == 2);
BOOST_CHECK(get<1>(t2) == "Hi");