Boost logo

Boost Users :

Subject: [Boost-users] Build error C3083
From: James (james_at_[hidden])
Date: 2017-06-14 11:37:54


Hi,

I am trying to build an application that uses the boost libraries. I am
seeing build error C3083 in bind_mf_cc.hpp.

The error states:

Error C3083 'core': the symbol to the left of a '::' must be a type

This is the offending code section :

template<class Rt2, class R, class T,
        class A1>
        typename boost::enable_if_c<!boost::core::is_same<Rt2,R>::value,
        _bi::bind_t<Rt2, _mfi::BOOST_BIND_MF_NAME(mf0)<R,T>, typename
_bi::list_av_1<A1>::type>>::type
        BOOST_BIND(R(BOOST_BIND_MF_CC T::*f) (), A1 a1)
{
    typedef _mfi::BOOST_BIND_MF_NAME(mf0)<R, T> F;
    typedef typename _bi::list_av_1<A1>::type list_type;
    return _bi::bind_t<Rt2, F, list_type>(F(f), list_type(a1));
}

And the line giving the trouble is the line beginning:

typename boost::enable_if_c<!boost::core::is_same<Rt2,R>::value,

Can anyone help me correct the line to fix this issue please?

Thanks.


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