Use std::invoke_result and not result_type to get the return type

This commit is contained in:
Mael Rouxel-Labbé 2025-03-16 13:27:07 +01:00
parent 13842b219f
commit a06a6a35b9
1 changed files with 2 additions and 3 deletions

View File

@ -59,9 +59,8 @@ namespace CGAL {
private:
std::remove_cv_t<
std::remove_reference_t< typename Construct_min_vertex_d::result_type >
> min, max;
CGAL::cpp20::remove_cvref_t<std::invoke_result_t<Construct_min_vertex_d, Iso_box_d> > min;
CGAL::cpp20::remove_cvref_t<std::invoke_result_t<Construct_max_vertex_d, Iso_box_d> > max;
Cartesian_const_iterator_d min_begin, max_begin;
FT eps;
unsigned int dim;