Merge branch 'Triangulation_3-CDT_3-lrineau' of https://github.com/lrineau/cgal into Triangulation_3-CDT_3-lrineau

This commit is contained in:
Jane Tournois 2025-06-25 17:42:38 +02:00
commit 87b1b341af
1 changed files with 11 additions and 5 deletions

View File

@ -76,6 +76,7 @@ struct is_convertible_without_narrowing : details::is_convertible_without_narrow
template <typename From, typename To>
inline constexpr bool is_convertible_without_narrowing_v = is_convertible_without_narrowing<From, To>::value;
#if 0
namespace is_complete_internals
{
template<class T>
@ -88,17 +89,22 @@ namespace is_complete_internals
template<class T, class Base = decltype(is_complete_internals::check(typename std::enable_if<true, T(*)()>::type()))>
struct is_complete : Base { };
template <class T>
inline constexpr bool is_complete_v = is_complete<T>::value;
namespace is_complete_testsuite
{
struct S;
static_assert(!is_complete<S>::value, "error");
struct S
struct S1;
static_assert(!is_complete<S1>::value, "error");
struct S2
{
static_assert(!is_complete<S>::value, "error");
static_assert(!is_complete<S2>::value, "error");
};
static_assert(is_complete<S>::value, "error");
struct S3 {};
static_assert(is_complete<S3>::value, "error");
}
#endif
} // end namespace CGAL