diff options
author | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2024-11-19 00:08:33 +0100 |
---|---|---|
committer | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2024-12-20 15:35:58 +0100 |
commit | d241eaf1b209dcfb05656842dd6250067b704d99 (patch) | |
tree | 49f34f6226f4614611d16ba6332b1b50b51a4712 /asl/meta.hpp | |
parent | 58200ce939a591008a8d9406f437252ce2b175cf (diff) |
Add allocator, start work on box
Diffstat (limited to 'asl/meta.hpp')
-rw-r--r-- | asl/meta.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/asl/meta.hpp b/asl/meta.hpp index e64b4f2..552bf0c 100644 --- a/asl/meta.hpp +++ b/asl/meta.hpp @@ -21,10 +21,10 @@ template<typename U, typename V> struct _select_helper<true, U, V> template<bool kSelect, typename U, typename V> using select_t = _select_helper<kSelect, U, V>::type;
-template<typename U, typename V> struct _is_same_helper : false_type {};
-template<typename T> struct _is_same_helper<T, T> : true_type {};
+template<typename U, typename V> struct _same_as_helper : false_type {};
+template<typename T> struct _same_as_helper<T, T> : true_type {};
-template<typename U, typename V> concept same_as = _is_same_helper<U, V>::value && _is_same_helper<V, U>::value;
+template<typename U, typename V> concept same_as = _same_as_helper<U, V>::value && _same_as_helper<V, U>::value;
template<typename T> auto _as_lref_helper(int) -> id<T&>;
template<typename T> auto _as_lref_helper(...) -> id<T>;
|