We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a6263c commit f811566Copy full SHA for f811566
libcxx/test/std/atomics/atomics.ref/increment_decrement.pass.cpp
@@ -48,7 +48,6 @@ struct TestDoesNotHaveIncrementDecrement {
48
template <typename T>
49
struct TestIncrementDecrement {
50
void operator()() const {
51
- static_assert(std::is_integral_v<T> || std::is_pointer_v<T>);
52
if constexpr (std::is_integral_v<T>) {
53
T x(T(1));
54
std::atomic_ref<T> const a(x);
0 commit comments