summaryrefslogtreecommitdiff
path: root/asl/base/utility.hpp
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2025-04-03 23:18:51 +0200
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2025-04-03 23:27:39 +0200
commitafbfd0e78176d47c495a29c795fbd3690fa0ded3 (patch)
tree9dd644166d5326f54de3492a4048e041c9b0ad66 /asl/base/utility.hpp
parent0776012d0942537b1ddfef13cd37f8bfb125f501 (diff)
Add numeric libraryv0.3.0
Diffstat (limited to 'asl/base/utility.hpp')
-rw-r--r--asl/base/utility.hpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/asl/base/utility.hpp b/asl/base/utility.hpp
index 77ccc6b..f371ab4 100644
--- a/asl/base/utility.hpp
+++ b/asl/base/utility.hpp
@@ -69,18 +69,6 @@ constexpr U bit_cast(T value) requires (sizeof(T) == sizeof(U))
return __builtin_bit_cast(U, value);
}
-template<typename T>
-constexpr T min(T a, T b)
-{
- return (a <= b) ? a : b;
-}
-
-template<typename T>
-constexpr T max(T a, T b)
-{
- return (a >= b) ? a : b;
-}
-
// NOLINTBEGIN(*-macro-parentheses)
#define ASL_DELETE_COPY(T) \
T(const T&) = delete; \