Skip to content

Commit

Permalink
Implement LWG-3671: atomic_fetch_xor missing from stdatomic.h (mi…
Browse files Browse the repository at this point in the history
  • Loading branch information
frederick-vs-ja authored and fsb4000 committed Aug 13, 2022
1 parent 046360f commit 49bffbb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stl/inc/stdatomic.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 2 additions & 0 deletions tests/std/tests/P0943R6_stdatomic_h/test.compile.pass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 49bffbb

Please sign in to comment.