diff --git a/STL_Extension/include/CGAL/Iterator_range.h b/STL_Extension/include/CGAL/Iterator_range.h index 5292009f9b1..1d2a09c1ddd 100644 --- a/STL_Extension/include/CGAL/Iterator_range.h +++ b/STL_Extension/include/CGAL/Iterator_range.h @@ -89,7 +89,7 @@ namespace boost::foreach { struct is_lightweight_proxy> : boost::mpl::true_ {}; } -#if CGAL_CXX20 +#if CGAL_CXX20 && __cpp_lib_ranges >= 201911L # include template