]> gcc.gnu.org Git - gcc.git/commit - libstdc++-v3/include/bits/chrono.h
libstdc++: Add [[nodiscard]] to chrono conversion functions
authorJonathan Wakely <jwakely@redhat.com>
Mon, 28 Nov 2022 11:22:24 +0000 (11:22 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 9 Dec 2022 00:32:45 +0000 (00:32 +0000)
commit646e979c43b8c84f0f70ea8f1709dfa2909726cd
tree3626e6dc32fbd6f458b94ed4818770576b2be666
parent7eec3114ebe8d4c55c64b4e47546d3d8f95eb09b
libstdc++: Add [[nodiscard]] to chrono conversion functions

Also add doxygen comments.

libstdc++-v3/ChangeLog:

* include/bits/chrono.h (duration_cast, floor, round, abs, ceil)
(time_point_cast): Add [[nodiscard]] attribute and doxygen
comments.
(treat_as_floating_point): Add doxygen commen.
libstdc++-v3/include/bits/chrono.h
This page took 0.056737 seconds and 5 git commands to generate.