
AMDG On 07/26/2012 05:29 AM, Larry Evans wrote:
The attached, when compiled with with gcc4.8-20120624, produces compile error:
../../../boost/type_erasure/detail/construct.hpp: In instantiation of 'boost::type_erasure::any<Concept, T>::any(const boost::type_erasure::binding<Concept>&, U0&) [with U0 = value<boost::type_erasure::_a>; Concept = boost::mpl::vector<boost::type_erasure::copy_constructible<boost::type_erasure::_a>, boost::type_erasure::copy_constructible<boost::type_erasure::_b> >; T = boost::type_erasure::_a]': binding_of.cpp:71:32: required from here ../../../boost/type_erasure/detail/construct.hpp:99:9: error: invalid use of void expression ) ^
Am I doing something wrong?
The concept doesn't contain anything that matches an argument of type value<_a>. In Christ, Steven Watanabe