Skip to content

Commit 9da9ebf

Browse files
jensmaurertkoeppe
authored andcommitted
[atomics.syn] Move macro definitions to the global namespace.
1 parent f73990e commit 9da9ebf

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

source/atomics.tex

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,22 @@
3333
enum class memory_order : @\unspec@;
3434
template<class T>
3535
T kill_dependency(T y) noexcept;
36+
}
3637

37-
// \ref{atomics.lockfree}, lock-free property
38-
#define ATOMIC_BOOL_LOCK_FREE @\unspec@
39-
#define ATOMIC_CHAR_LOCK_FREE @\unspec@
40-
#define ATOMIC_CHAR8_T_LOCK_FREE @\unspec@
41-
#define ATOMIC_CHAR16_T_LOCK_FREE @\unspec@
42-
#define ATOMIC_CHAR32_T_LOCK_FREE @\unspec@
43-
#define ATOMIC_WCHAR_T_LOCK_FREE @\unspec@
44-
#define ATOMIC_SHORT_LOCK_FREE @\unspec@
45-
#define ATOMIC_INT_LOCK_FREE @\unspec@
46-
#define ATOMIC_LONG_LOCK_FREE @\unspec@
47-
#define ATOMIC_LLONG_LOCK_FREE @\unspec@
48-
#define ATOMIC_POINTER_LOCK_FREE @\unspec@
38+
// \ref{atomics.lockfree}, lock-free property
39+
#define ATOMIC_BOOL_LOCK_FREE @\unspec@
40+
#define ATOMIC_CHAR_LOCK_FREE @\unspec@
41+
#define ATOMIC_CHAR8_T_LOCK_FREE @\unspec@
42+
#define ATOMIC_CHAR16_T_LOCK_FREE @\unspec@
43+
#define ATOMIC_CHAR32_T_LOCK_FREE @\unspec@
44+
#define ATOMIC_WCHAR_T_LOCK_FREE @\unspec@
45+
#define ATOMIC_SHORT_LOCK_FREE @\unspec@
46+
#define ATOMIC_INT_LOCK_FREE @\unspec@
47+
#define ATOMIC_LONG_LOCK_FREE @\unspec@
48+
#define ATOMIC_LLONG_LOCK_FREE @\unspec@
49+
#define ATOMIC_POINTER_LOCK_FREE @\unspec@
4950

51+
namespace std {
5052
// \ref{atomics.ref.generic}, class template \tcode{atomic_ref}
5153
template<class T> struct atomic_ref;
5254
// \ref{atomics.ref.pointer}, partial specialization for pointers

0 commit comments

Comments
 (0)