From f5ef1937eafb3d96b3683d92639a193694210c70 Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Tue, 19 Nov 2024 23:30:55 +0100 Subject: More work on asl::box --- 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 552bf0c..f0397a1 100644 --- a/asl/meta.hpp +++ b/asl/meta.hpp @@ -69,6 +69,9 @@ template concept trivially_destructible = __is_trivially_destructibl template concept trivially_copyable = __is_trivially_copyable(T); +template concept copyable = copy_constructible && copy_assignable; +template concept moveable = move_constructible && move_assignable; + template concept convertible_from = __is_convertible(From, To); -- cgit