https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120481

--- Comment #5 from Tomasz KamiƄski <tkaminsk at gcc dot gnu.org> ---
> I think it's fine for the output to be unspecified in that case, since it's 
> not a meaningful time-of-day.

I do not think that 50h from midnight is unspecified time of day, is 2 am in
next two days. That interpretation would mean that calling operator<< on the
hh_mm_ss that have more than 24 hours (which is supported), has unspecified
output.
In [time.hms.nonmembers] p1 we specify operator<< as returning:
>> format(os.getloc(), STATICALLY-WIDEN<charT>("{:L%T}"), hms
Then in the [tab:time.format.spec] table, we specify %T as:
>> Equivalent to %H:%M:%S.

This class was not named time_of_day, to explicitly suggest that it meant to
represent more than 24 hours.

Reply via email to