
6 Mar
2009
6 Mar
'09
7:57 p.m.
Eric Niebler wrote:
Noah Roberts wrote:
template < typename FIELD, bool Writable > struct rec <snip>
template < typename VEC > struct generate_record : boost::mpl::inherit_linearly< VEC, boost::mpl::inherit< rec<pl::_2, true>, pl::_1> >::type <snip>
The problem is the "bool Writable" non-type template parameter. The MPL lambda expression evaluator can't handle that.
Thanks.