mirror of
https://github.com/boostorg/date_time.git
synced 2026-01-30 19:52:18 +00:00
C++17 deprecates implicit generation of assignment operator in presence of explicitly declared copy constructor. In future standards this behavior may be removed. In the affected Boost.DateTime classes, the explicitly defined copy constructors are functionally equivalent to those would be generated implicitly, so we can just remove them. The additional benefit is that the implicitly generated ones will have constexpr and noexcept specifications, and will also allow implicit move constructors and assignment operators.