boostorg / range

Boost.org range module
http://boost.org/libs/range
43 stars 104 forks source link

Explicitly default copy assignment operator #141

Open ecatmur opened 1 year ago

ecatmur commented 1 year ago

The compiler-generated copy assignment operator is deprecated since C++11 on classes with user-declared copy constructor.

This change allows clean compilation with the -Wdeprecated-copy/-Wdeprecated-copy-with-user-provided-ctor flag.