diff --git a/STL_Extension/include/CGAL/type_traits.h b/STL_Extension/include/CGAL/type_traits.h index 5df156a9b9c..c97f28cfbee 100644 --- a/STL_Extension/include/CGAL/type_traits.h +++ b/STL_Extension/include/CGAL/type_traits.h @@ -76,6 +76,7 @@ struct is_convertible_without_narrowing : details::is_convertible_without_narrow template inline constexpr bool is_convertible_without_narrowing_v = is_convertible_without_narrowing::value; +#if 0 namespace is_complete_internals { template @@ -88,17 +89,22 @@ 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 } // end namespace CGAL