[Bug 255720] std::memory_order::memory_order_seq_cst doesn't exist in c++2a when the standard says that it should exist
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon May 10 00:17:18 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255720
Konstantin Belousov <kib at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kib at FreeBSD.org
--- Comment #2 from Konstantin Belousov <kib at FreeBSD.org> ---
It should be
n.fetch_add(addend, memory_order::something);
Indeed it looks like they renamed members of enum memory_order,
removing really redundand memory_order_ prefix.
The global names like memory_order_seq_cst are kept intact.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-standards
mailing list