Boost logo

Boost :

Subject: Re: [boost] VC2013 1.55 beta failures
From: Marcel Raad (raad_at_[hidden])
Date: 2013-10-18 09:18:29


Peter Dimov <lists <at> pdimov.com> writes:

>

> Marcel Raad wrote:

> > If I remove the "#define BOOST_NO_CXX11_VARIADIC_TEMPLATES", the only
file

> > that does not compile seems to be boost/bind/bind.hpp.

>

> That's odd, because bind.hpp doesn't use variadic templates and does not

> contain references to this macro. What errors are you getting?

Sorry, I just noticed that I only get compile errors if I call
boost::signals2::signal<>::connect with the result of boost::bind, so the
problem indeed seems to be boost::signals2.

I get the following errors:

boost/bind/bind.hpp(303): error C2784: 'result_traits<R,F>::type
boost::_bi::list0::operator [](const boost::_bi::bind_t<R,F,L> &) const' :
could not deduce template argument for 'overloaded function type'
from 'overloaded function type'

 boost/bind/bind.hpp(178) : see declaration of 'boost::_bi::list0::operator
[]'

boost/bind/bind.hpp(303): error C2784: 'result_traits<R,F>::type
boost::_bi::list0::operator [](boost::_bi::bind_t<R,F,L> &) const' : could
not deduce template argument for 'overloaded function type'
from 'overloaded function type'

boost/bind/bind.hpp(176) : see declaration of 'boost::_bi::list0::operator
[]'

boost/bind/bind.hpp(303): error C2784: 'T &boost::_bi::list0::operator []
(const boost::reference_wrapper<T> &) const' : could not deduce template
argument for 'overloaded function type' from 'overloaded function type'

boost/bind/bind.hpp(174) : see declaration of 'boost::_bi::list0::operator
[]'

boost/bind/bind.hpp(303): error C2784: 'const T
&boost::_bi::list0::operator [](const boost::_bi::value<T> &) const' :
could not deduce template argument for 'overloaded function type'
from 'overloaded function type'

boost/bind/bind.hpp(172) : see declaration of 'boost::_bi::list0::operator
[]'

boost/bind/bind.hpp(303): error C2784: 'T &boost::_bi::list0::operator []
(boost::_bi::value<T> &) const' : could not deduce template argument
for 'overloaded function type' from 'overloaded function type'

boost/bind/bind.hpp(170) : see declaration of 'boost::_bi::list0::operator
[]'

boost/bind/bind.hpp(303): error C2676: binary '[' : 'boost::_bi::list0'
does not define this operator or a conversion to a type acceptable to the
predefined operator

boost/bind/bind.hpp(303): error C2064: term does not evaluate to a function
taking 1 arguments

 class does not define an 'operator()' or a user defined conversion
operator to a pointer-to-function or reference-to-function that takes
appropriate number of arguments


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