https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114244
--- Comment #4 from Howard Hinnant <howard.hinnant at gmail dot com> --- Not positive (because I don't know your code that well), but I think: __s = round<_Duration>(__fs); will do it.
howard.hinnant at gmail dot com via Gcc-bugs Wed, 06 Mar 2024 17:01:16 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114244
--- Comment #4 from Howard Hinnant <howard.hinnant at gmail dot com> --- Not positive (because I don't know your code that well), but I think: __s = round<_Duration>(__fs); will do it.