diff options
Diffstat (limited to 'asl/meta.hpp')
-rw-r--r-- | asl/meta.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/asl/meta.hpp b/asl/meta.hpp index 72b36fd..ab25a88 100644 --- a/asl/meta.hpp +++ b/asl/meta.hpp @@ -169,4 +169,7 @@ concept has_niche = constructible_from<T, niche> && { value == n } -> same_as<bool>;
};
+template<typename T>
+concept is_niche = same_as<un_cvref_t<T>, niche>;
+
} // namespace asl
|