Opened 4 years ago
Closed 4 years ago
#13541 closed Bugs (worksforme)
Duration not initialized by default
Reported by: | Owned by: | viboes | |
---|---|---|---|
Milestone: | To Be Determined | Component: | chrono |
Version: | Boost 1.66.0 | Severity: | Regression |
Keywords: | Cc: |
Description
Hi,
This is a breaking change compared to 1.64. For BOOST_NO_CXX11_DEFAULTED_FUNCTIONS _rep is now not default initialized. Check duration.hpp:440.
I know I can force this with BOOST_CHRONO_DURATION_DEFAULTS_TO_ZERO.
Note:
See TracTickets
for help on using tickets.
I want to conform to the standard. I need that duration to be trivial. Even if this is a breaking change, I believe we should go this way.