#include #include #include #include #if defined(CGAL_HAS_DEFAULT_ARITHMETIC_KERNEL) #include int main() { typedef CGAL::Arithmetic_kernel AK; typedef AK::Integer Integer; typedef AK::Rational Rational; typedef AK::Bigfloat_interval BFI; { typedef CGAL::Get_arithmetic_kernel::Arithmetic_kernel AK_; CGAL_USE_TYPE(AK_); static_assert(std::is_same::value); } { typedef CGAL::Get_arithmetic_kernel::Arithmetic_kernel AK_; CGAL_USE_TYPE(AK_); static_assert(std::is_same::value); } { typedef CGAL::Get_arithmetic_kernel::Arithmetic_kernel AK_; CGAL_USE_TYPE(AK_); static_assert(std::is_same::value); } return 0; } #else #warning CGAL has no default CGAL::Arithmetic kernel int main() { return 0; } #endif