aboutsummaryrefslogtreecommitdiff
path: root/libk/type_traits.h
diff options
context:
space:
mode:
Diffstat (limited to 'libk/type_traits.h')
-rw-r--r--libk/type_traits.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/libk/type_traits.h b/libk/type_traits.h
deleted file mode 100644
index dc70339..0000000
--- a/libk/type_traits.h
+++ /dev/null
@@ -1,16 +0,0 @@
-#pragma once
-
-template <class T, T v>
-struct integral_constant {
- constexpr T operator()() const { return v; }
- constexpr operator T() const { return v; }
-};
-
-template <class T, class U>
-struct is_same : integral_constant<bool, false> {};
-
-template <class T>
-struct is_same<T, T> : integral_constant<bool, true> {};
-
-template <typename T>
-struct is_unsigned : integral_constant<bool, (T{0} < static_cast<T>(-1))> {};