Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 May 2021 00:17:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        standards@FreeBSD.org
Subject:   [Bug 255720] std::memory_order::memory_order_seq_cst doesn't exist in c++2a when the standard says that it should exist
Message-ID:  <bug-255720-99-6dggSpxnfM@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-255720-99@https.bugs.freebsd.org/bugzilla/>
References:  <bug-255720-99@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255720

Konstantin Belousov <kib@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kib@FreeBSD.org

--- Comment #2 from Konstantin Belousov <kib@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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255720-99-6dggSpxnfM>