[Bug libstdc++/103933] atomics: notify_one, notify_all marked const

gcc_bugzilla at axeitado dot com gcc-bugzilla@gcc.gnu.org
Thu Feb 3 20:23:38 GMT 2022


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

--- Comment #1 from Óscar Fuentes <gcc_bugzilla at axeitado dot com> ---
Also, the template functions atomic_notify_one and atomic_notify_all take a
const argument, when it should be non-const.

The `volatile' arg overload is missing too.


More information about the Gcc-bugs mailing list