https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103933
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Óscar Fuentes from comment #1) > 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. Because there is no atomic_flag::notify_one() or atomic_flag::notify_all() in libstdc++. The volatile overloads are not useful, and are deprecated, and are not present in libstdc++.