
on Sun Jul 27 2008, noman javed <noman_bwp-AT-yahoo.com> wrote:
I have already tried this and got the following error messeges
example.cpp: In instantiation of ‘Poplist::apply<boost::mpl::list_c<int, 0l, 1l, 2l, 3l, 4l, 5l, 2147483647l, 2147483647l, 2147483647l, 2147483647l, 2147483647l, 2147483647l, 2147483647l, 2147483647l, 2147483647l, 2147483647l, 2147483647l, 2147483647l, 2147483647l, 2147483647l> >’: example.cpp:51: instantiated from here example.cpp:20: error: invalid use of undefined type ‘struct boost::mpl::pop_front <boost::mpl::list_c<int, 0l, 1l, 2l, 3l, 4l, 5l, 2147483647l, 2147483647l, 2147483647l, 2147483647l, 2147483647l, 2147483647l, 2147483647l, 2147483647l, 2147483647l, 2147483647l, 2147483647l, 2147483647l, 2147483647l, 2147483647l> >’ ../boost_1_35_0/boost/mpl/pop_front_fwd.hpp:20: error: declaration of ‘struct boost::mpl::pop_front<boost::mpl::list_c<int, 0l, 1l, 2l, 3l, 4l, 5l, 2147483647l, 2147483647l, 2147483647l, 2147483647l, 2147483647l, 2147483647l, 2147483647l, 2147483647l, 2147483647l, 2147483647l, 2147483647l, 2147483647l, 2147483647l, 2147483647l> >’
Not sure what "this" is that you tried, but it looks like you're missing a header. Perhaps boost/mpl/pop_front.hpp HTH, -- Dave Abrahams BoostPro Computing http://www.boostpro.com