We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89b17c1 commit c7ab925Copy full SHA for c7ab925
1 file changed
include/rfl/atomic/is_atomic.hpp
@@ -174,15 +174,6 @@ struct is_atomic<T> {
174
}
175
};
176
177
-template <class T>
178
- requires(std::is_class_v<T> && std::is_aggregate_v<T> &&
179
- std::is_move_constructible_v<T>)
180
-struct is_atomic<T> {
181
- static constexpr bool value = false;
182
- using RemoveAtomicT = T;
183
- static void set(RemoveAtomicT&& val, T* _t) { *_t = std::forward<T>(val); };
184
-};
185
-
186
template <class T>
187
constexpr bool is_atomic_v = is_atomic<std::remove_cvref_t<T>>::value;
188
0 commit comments