From defa7e1b9e16c6276e17a39b61d019c1a116472b Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Fri, 22 Nov 2024 18:15:40 +0100 Subject: Use niche in option --- asl/meta.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'asl/meta.hpp') 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 && { value == n } -> same_as; }; +template +concept is_niche = same_as, niche>; + } // namespace asl -- cgit