Boost logo

Boost Users :

Subject: Re: [Boost-users] Problem in compiling simple boost mpl program
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-10-16 18:02:19


Missing Rainbow wrote:
> I am making use of boost 1.32.0 (as given in the MPL book CD). I have
> written a small program using mpl::vector. I am getting the following
> error. What could be the problem?
> "hello.c", line 4: Error: mpl is not defined.
> #include "boost/mpl/vector.hpp"
> typedef mpl::vector<int, char*, double& > seq;


namespace mpl = boost::mpl;

or boost::mpl::vector<...>

In Christ,
Steven Watanabe

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at