From d45436cff85b5be8cc91a4f823f0f64e4a562751 Mon Sep 17 00:00:00 2001 From: Alexander Karatarakis Date: Fri, 22 Dec 2023 14:55:39 -0800 Subject: [PATCH] [Reflection] Don't require `constexpr`, just default-constructible --- include/fixed_containers/reflection.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fixed_containers/reflection.hpp b/include/fixed_containers/reflection.hpp index 95507e84..16a37501 100644 --- a/include/fixed_containers/reflection.hpp +++ b/include/fixed_containers/reflection.hpp @@ -19,7 +19,7 @@ static_assert(__has_builtin(__builtin_dump_struct), namespace fixed_containers::reflection_detail { template -concept Reflectable = std::is_class_v && ConstexprDefaultConstructible; +concept Reflectable = std::is_class_v && DefaultConstructible; enum class LayerType {