Boost logo

Boost Users :

Subject: Re: [Boost-users] zip_iterator.hpp / boost::tuple requires a using namespace std!
From: Philipp Moeller (philipp.moeller_at_[hidden])
Date: 2012-03-01 09:28:48


mark pashley <mark.pashley_at_[hidden]> writes:

> Thankyou Lars & Nathan, the addition of the .template has fixed it. I am
> still confused as to why the "using" statement appeared to fix/hide the
> problem, but it is good to know the correct solution.

Are you using Visual Studio? It is the only mainstream compiler I know
of that is not implementing two-phase name look-up correctly which can
explain could explain some of the roots of your issue.

HTH,
Philipp Moeller


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