From 75b10758ba116eabed730d23e957f1d69a1e3cb8 Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Tue, 6 Aug 2024 00:34:57 +0200 Subject: Type traits --- asl/meta/quals.hpp | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 asl/meta/quals.hpp (limited to 'asl/meta/quals.hpp') diff --git a/asl/meta/quals.hpp b/asl/meta/quals.hpp deleted file mode 100644 index 9671043..0000000 --- a/asl/meta/quals.hpp +++ /dev/null @@ -1,22 +0,0 @@ -#pragma once - -#include "asl/meta/types.hpp" -#include "asl/meta/funcs.hpp" -#include "asl/meta/refs.hpp" -#include "asl/meta/internal/quals.hpp" - -namespace asl { - -template concept is_const = internal::is_const; -template concept is_volatile = !is_any_ref && !is_func && same::add>; - -template using as_const_t = internal::const_helper::add; -template using un_const_t = internal::const_helper::remove; - -template using as_volatile_t = internal::volatile_helper::add; -template using un_volatile_t = internal::volatile_helper::remove; - -template using un_qual_t = un_volatile_t>; - -} // namespace asl - -- cgit