From 29be2c9881e8254c12f72eb0b774d084bdc425b8 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Fri, 3 Jan 2025 14:18:24 +0000 Subject: [PATCH] Workaround for overlaod disambiguation --- STL_Extension/include/CGAL/Named_function_parameters.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/STL_Extension/include/CGAL/Named_function_parameters.h b/STL_Extension/include/CGAL/Named_function_parameters.h index 7558aae88f25..4f711432ce57 100644 --- a/STL_Extension/include/CGAL/Named_function_parameters.h +++ b/STL_Extension/include/CGAL/Named_function_parameters.h @@ -336,6 +336,14 @@ template struct Named_function_parameters : internal_np::Named_params_impl { + // Add some nested types needed for instantiation of boost::graph_traits before overload elimination + // for example for the function PMP::interpolated_corrected_curvatures() + typedef void vertex_descriptor; + typedef void edge_descriptor; + typedef void directed_category; + typedef void edge_parallel_category; + typedef void traversal_category; + typedef internal_np::Named_params_impl base; typedef Named_function_parameters self;