Skip to content

Commit c7ab925

Browse files
Removed unnecessary overload
1 parent 89b17c1 commit c7ab925

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

include/rfl/atomic/is_atomic.hpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -174,15 +174,6 @@ struct is_atomic<T> {
174174
}
175175
};
176176

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-
186177
template <class T>
187178
constexpr bool is_atomic_v = is_atomic<std::remove_cvref_t<T>>::value;
188179

0 commit comments

Comments
 (0)