Skip to content

error C2676: Binary '+': 'T' does not define this operator or a conversion to an acceptable type for the predefined operator #97

Description

@SRAWAS

I have this error when i compile my project using boost 1_79_0:

error C2676: Binary '+': 'T' does not define this operator or a conversion to an acceptable type for the predefined operator in operators.hpp boost:

Here is the problem:

operators.hpp

template<typename X,typename Y> struct add_typeof_helper
{
BOOST_TYPEOF_NESTED_TYPEDEF_TPL(nested, (typeof_::make() + typeof_::make()))
typedef typename nested::type type;
};

I use visual studio 2017, language : C++ /std:c++latest

Thank you in advance for your comments !

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions