diff --git a/stl/inc/stdatomic.h b/stl/inc/stdatomic.h index 82cbc5795ad..29838b8c06c 100644 --- a/stl/inc/stdatomic.h +++ b/stl/inc/stdatomic.h @@ -117,6 +117,8 @@ using _STD atomic_fetch_sub; using _STD atomic_fetch_sub_explicit; using _STD atomic_fetch_or; using _STD atomic_fetch_or_explicit; +using _STD atomic_fetch_xor; +using _STD atomic_fetch_xor_explicit; using _STD atomic_fetch_and; using _STD atomic_fetch_and_explicit; using _STD atomic_flag_test_and_set; diff --git a/tests/std/tests/P0943R6_stdatomic_h/test.compile.pass.cpp b/tests/std/tests/P0943R6_stdatomic_h/test.compile.pass.cpp index 5679d5b36f9..5f3322f7d76 100644 --- a/tests/std/tests/P0943R6_stdatomic_h/test.compile.pass.cpp +++ b/tests/std/tests/P0943R6_stdatomic_h/test.compile.pass.cpp @@ -101,6 +101,8 @@ namespace test { using ::atomic_fetch_or_explicit; using ::atomic_fetch_sub; using ::atomic_fetch_sub_explicit; + using ::atomic_fetch_xor; + using ::atomic_fetch_xor_explicit; using ::atomic_flag_clear; using ::atomic_flag_clear_explicit; using ::atomic_flag_test_and_set;