Re: [committed] libstdc++: Make std::chrono::duration use reduced ratio for period

2020-08-28 Thread Jonathan Wakely via Gcc-patches
On 27/08/20 22:41 +0100, Jonathan Wakely wrote: This implements the changes from P0548 "common_type and duration". That was a change for C++17, but as it corrects some issues introduced by DRs I'm also treating it as a DR and changing it for all modes from C++11 up. The main change is that durat

[committed] libstdc++: Make std::chrono::duration use reduced ratio for period

2020-08-27 Thread Jonathan Wakely via Gcc-patches
This implements the changes from P0548 "common_type and duration". That was a change for C++17, but as it corrects some issues introduced by DRs I'm also treating it as a DR and changing it for all modes from C++11 up. The main change is that duration::period no longer denotes P, but rather P::typ