Re: [Boost-users] noman javed: " problem in returning mpl::list"

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> >’

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

David Abrahams wrote:
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,
<snip long error message> Not sure what "this" is that you tried, but it looks like you're missing a header. Perhaps boost/mpl/pop_front.hpp
This message was part of the thread : http://www.nabble.com/problem-in-returning-mpl::list-td18677744.html It looks like the subject line got mangled. --John
participants (3)
-
David Abrahams
-
John C. Femiani
-
noman javed