[mpl] include order matters for set and map
The following simple code:
#include
Yuval Ronen
The following simple code:
#include
#include #include using namespace boost;
int main(int argc, char* argv[]) { typedef mpl::map< mpl::pair
> my_map; return 0; } compiles fine. But if swap the order of
#include
and
#include
then it doesn't compile any more (MSVC 7.1).
Are you testing the Boost CVS, RC_1_34_0, or the 1.33.1 release? We have fixed lots of map bugs. -- Dave Abrahams Boost Consulting www.boost-consulting.com
David Abrahams wrote:
Yuval Ronen
writes: The following simple code:
#include
#include #include using namespace boost;
int main(int argc, char* argv[]) { typedef mpl::map< mpl::pair
> my_map; return 0; } compiles fine. But if swap the order of
#include
and
#include
then it doesn't compile any more (MSVC 7.1).
Are you testing the Boost CVS, RC_1_34_0, or the 1.33.1 release? We have fixed lots of map bugs.
The 1.33.1 release.
participants (2)
-
David Abrahams
-
Yuval Ronen