Boost logo

Boost Users :

Subject: [Boost-users] zip_iterator.hpp / boost::tuple requires a using namespace std!
From: mark pashley (mark.pashley_at_[hidden])
Date: 2012-02-29 13:17:43


Hi,

I have been using zip iterators with a BOOST::Test to check that maps
contain expected values.

After moving some templated code to a header file I found that the code
would not compie unless I place a *'using namespace std;' * declaration
within one of functions.

The compiler is gcc 4.6.2 and 4.4.2.
The version of boost is 1.47 and 1.49

The minimum code snippet is as follows:
 
* using namespace std; // without this the next line does not
compile!*

The error from gcc is:

--
View this message in context: http://boost.2283326.n4.nabble.com/zip-iterator-hpp-boost-tuple-requires-a-using-namespace-std-tp4432441p4432441.html
Sent from the Boost - Users mailing list archive at Nabble.com.

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net