diff --git a/source/mijin/util/concepts.hpp b/source/mijin/util/concepts.hpp index a985a12..61d0490 100644 --- a/source/mijin/util/concepts.hpp +++ b/source/mijin/util/concepts.hpp @@ -66,6 +66,15 @@ concept deleter_type = requires(T deleter, TData* ptr) deleter(ptr); }; +template +concept implicitly_convertible = std::is_convertible_v; + +template typename TConstraint, typename... TArgs> +concept not_type = !TConstraint::value; + +template +concept not_same_as = not_type; + // // public functions //