$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] Problem in compiling simple boost mpl program
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-10-16 18:02:19
AMDG
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;
>
Try
namespace mpl = boost::mpl;
or boost::mpl::vector<...>
In Christ,
Steven Watanabe