
Hi Rob, On 2014-01-26 13:10, Robert Jones wrote:
I'm probably doing something naively foolish, but your example didn't work for me.
boost::mpl::push_front<boost::mpl::vector<int, char>, double>::type <stdin>:6:26: error: use of undeclared identifier 'boost' <stdin>:6:49: error: use of undeclared identifier 'boost' <stdin>:6:71: error: expected '(' for function-style cast or type construction <stdin>:6:78: error: expected unqualified-id
You need to include the Boost.MPL headers: #include <boost/mpl/vector.hpp> #include <boost/mpl/push_front.hpp> And to get formatting, the following header as well: #include <metashell/formatter/vector.hpp> And then you can run the example: boost::mpl::push_front<boost::mpl::vector<int, char>, double>::type Regards, Ábel ||