Skip to content

Commit 6d88664

Browse files
jensmaurertkoeppe
authored andcommitted
[time.syn] Add comments pointing to specification of literal operators (#2018)
1 parent e964cd7 commit 6d88664

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

source/utilities.tex

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18410,9 +18410,6 @@
1841018410
inline namespace literals {
1841118411
inline namespace chrono_literals {
1841218412
// \ref{time.duration.literals}, suffixes for duration literals
18413-
constexpr chrono::year operator""y(unsigned long long y) noexcept;
18414-
constexpr chrono::day operator""d(unsigned long long d) noexcept;
18415-
1841618413
constexpr chrono::hours operator""h(unsigned long long);
1841718414
constexpr chrono::duration<@\unspec,@ ratio<3600, 1>> operator""h(long double);
1841818415

@@ -18430,6 +18427,12 @@
1843018427

1843118428
constexpr chrono::nanoseconds operator""ns(unsigned long long);
1843218429
constexpr chrono::duration<@\unspec,@ nano> operator""ns(long double);
18430+
18431+
// \ref{time.cal.day.nonmembers}, non-member functions
18432+
constexpr chrono::day operator""d(unsigned long long d) noexcept;
18433+
18434+
// \ref{time.cal.year.nonmembers}, non-member functions
18435+
constexpr chrono::year operator""y(unsigned long long y) noexcept;
1843318436
}
1843418437
}
1843518438

0 commit comments

Comments
 (0)