[ox/std] Cleanup
This commit is contained in:
parent
1b790a34c4
commit
abc076d657
2
deps/ox/src/ox/std/typetraits.hpp
vendored
2
deps/ox/src/ox/std/typetraits.hpp
vendored
@ -143,7 +143,7 @@ template<typename T>
|
||||
constexpr bool memberable(...) { return false; }
|
||||
|
||||
template<typename T>
|
||||
struct is_class: integral_constant<bool, !is_union<T>::value && memberable<T>(0)> {};
|
||||
struct is_class: integral_constant<bool, !is_union_v<T> && memberable<T>(nullptr)> {};
|
||||
|
||||
namespace test {
|
||||
struct TestClass {int i;};
|
||||
|
Loading…
Reference in New Issue
Block a user