Boost logo

Boost Users :

Subject: [Boost-users] [fusion] problem with make_map
From: Jean-Louis Leroy (jl_at_[hidden])
Date: 2009-09-27 04:47:46


I'm trying the make_map example from the doc, nearly verbatim :

#include <boost/fusion/container/generation/make_map.hpp>
#include <boost/fusion/include/make_map.hpp>

int main() {
   using namespace boost::fusion;
   make_map(
     make_pair<int>('X')
   , make_pair<double>("Men"));
}

Both msvc9 and g++ 4.4.1 tell me that there is no make_map function that
takes two parameters. g++ mentions that it sees a parameter-less
make_map(). I use Boost 1.40.

What's up ?

Thanks,
J-L


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