boostorg / serialization

Boost.org serialization module
http://boost.org/libs/serialization
120 stars 139 forks source link

Implement copy constructor #297

Closed ecatmur closed 1 year ago

ecatmur commented 1 year ago

280 take 2 (test matrix: toolset=clang-14,gcc-11 variant=debug,release cxxstd=11,14,17,20,2b)

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

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

robertramey commented 1 year ago

merged and tested