Boost logo

Boost :

Subject: Re: [boost] [type_erasure]any(const binding<Concept>&, ...) compile error
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2012-07-26 10:02:02


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk