diff --git a/STL_Extension/include/CGAL/type_traits.h b/STL_Extension/include/CGAL/type_traits.h index facf7a58e12..c97f28cfbee 100644 --- a/STL_Extension/include/CGAL/type_traits.h +++ b/STL_Extension/include/CGAL/type_traits.h @@ -89,16 +89,20 @@ namespace is_complete_internals template::type()))> struct is_complete : Base { }; +template +inline constexpr bool is_complete_v = is_complete::value; + namespace is_complete_testsuite { - struct S; - static_assert(!is_complete::value, "error"); - struct S + struct S1; + static_assert(!is_complete::value, "error"); + struct S2 { - static_assert(!is_complete::value, "error"); + static_assert(!is_complete::value, "error"); }; - static_assert(is_complete::value, "error"); + struct S3 {}; + static_assert(is_complete::value, "error"); } #endif