boostorg / proto

Boost.org proto module
http://boost.org/libs/proto
21 stars 38 forks source link

clang-10 warning: definition of implicit copy constructor is deprecated #22

Closed k15tfu closed 4 years ago

k15tfu commented 4 years ago

In file boost/proto/detail/preprocessed/expr_variadic.hpp:

boost/proto/detail/preprocessed/expr_variadic.hpp:96:9: error: definition of implicit copy constructor for 'expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::log::v2s_mt_posix::expressions::aux::unary_function_terminal<boost::log::v2s_mt_posix::expressions::has_attribute<void> > >, 0>' is deprecated because it has a user-declared copy assignment operator [-Werror,-Wdeprecated-copy]
        operator =(expr const &a)
        ^