From 08eece258ceff7824250454906bff013a7303c28 Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Wed, 24 Apr 2024 23:13:42 +0200 Subject: Some work on StatusOr --- deimos/core/std.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'deimos/core/std.h') diff --git a/deimos/core/std.h b/deimos/core/std.h index 0e0336e..47f161a 100644 --- a/deimos/core/std.h +++ b/deimos/core/std.h @@ -25,6 +25,11 @@ template concept unsigned_integral = integral && __is_unsigned(T) template constexpr bool is_trivially_destructible_v = __is_trivially_destructible(T); template constexpr bool is_constructible_v = __is_constructible(T, Args...); +template constexpr bool is_default_constructible_v = __is_constructible(T); +template constexpr bool is_copy_constructible_v = __is_constructible(T, const T&); +template constexpr bool is_move_constructible_v = __is_constructible(T, T&&); +template constexpr bool is_copy_assignable_v = __is_assignable(T, const T&); +template constexpr bool is_move_assignable_v = __is_assignable(T, T&&); template constexpr bool is_trivially_copyable_v = __is_trivially_copyable(T); template constexpr bool _is_same_helper = false; -- cgit