Skip to content

Commit 99abacd

Browse files
burblebeetkoeppe
authored andcommitted
LWG3842 Unclear wording for precision in chrono-format-spec
1 parent d32339a commit 99abacd

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

source/time.tex

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10478,10 +10478,11 @@
1047810478
are described in \ref{format.string}.
1047910479
Giving a \fmtgrammarterm{precision} specification
1048010480
in the \fmtgrammarterm{chrono-format-spec}
10481-
is valid only for \tcode{std::chrono::duration} types
10482-
where the representation type \tcode{Rep}
10483-
is a floating-point type.
10484-
For all other \tcode{Rep} types,
10481+
is valid only for types that are
10482+
specializations of \tcode{std::chrono::duration}
10483+
for which the nested \grammarterm{typedef-name} \tcode{rep} denotes
10484+
a floating-point type.
10485+
For all other types,
1048510486
an exception of type \tcode{format_error} is thrown
1048610487
if the \fmtgrammarterm{chrono-format-spec}
1048710488
contains a \fmtgrammarterm{precision} specification.

0 commit comments

Comments
 (0)