Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2006-08-16 12:12:36


Yuval Ronen <ronen_yuval_at_[hidden]> writes:

> The following simple code:
>
> #include <boost/mpl/map.hpp>
> #include <boost/mpl/set.hpp>
> #include <boost/mpl/pair.hpp>
>
> using namespace boost;
>
> int main(int argc, char* argv[])
> {
> typedef mpl::map< mpl::pair<int, double> > my_map;
> return 0;
> }
>
> compiles fine. But if swap the order of
>
> #include <boost/mpl/map.hpp>
>
> and
>
> #include <boost/mpl/set.hpp>
>
> 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

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