|
Boost Users : |
Subject: [Boost-users] base_from_member problem
From: Olaf Peter (ope-devel_at_[hidden])
Date: 2010-05-29 14:57:05
Hello,
in the example attached I've got the compiler error
base_from.cpp: In constructor âheader_fixture::header_fixture()â:
base_from.cpp:48: error: type
âclient::detail::header_grammar<boost::spirit::karma::detail::output_iterator<const
char*, mpl_::int_<15>, boost::fusion::unused_type> >â is not a direct
base of âheader_fixtureâ
/home/olaf/Projects/programming/cpp/boost/trunk/boost/utility/base_from_member.hpp:69:
error:
âclient::detail::string_grammar<boost::spirit::karma::detail::output_iterator<const
char*, mpl_::int_<15>, boost::fusion::unused_type> >
boost::base_from_member<client::detail::string_grammar<boost::spirit::karma::detail::output_iterator<const
char*, mpl_::int_<15>, boost::fusion::unused_type> >, 0>::memberâ is
protected
where the 2nd error is due to the 1st one. Why does it not work? without
karma::grammar it compiles. How to fix it?
Thanks,
Olaf
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net