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

            Bug ID: 103933
           Summary: atomics: notify_one, notify_all marked const
           Product: gcc
           Version: 11.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gcc_bugzilla at axeitado dot com
  Target Milestone: ---

std::atomic<T>::notify_one and std::atomic_flag::notify_one are marked const.

As per cppreference.com and 31.10 / 31.8.1 from the latest C++20 draft they
should be non-const.

Same for notify_all.

Reply via email to