Skip to content

Commit

Permalink
Workaround for overlaod disambiguation
Browse files Browse the repository at this point in the history
  • Loading branch information
afabri committed Jan 3, 2025
1 parent 791349e commit 29be2c9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions STL_Extension/include/CGAL/Named_function_parameters.h
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,14 @@ template <typename T, typename Tag, typename Base>
struct Named_function_parameters
: internal_np::Named_params_impl<T, Tag, Base>
{
// 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<T, Tag, Base> base;
typedef Named_function_parameters<T, Tag, Base> self;

Expand Down

0 comments on commit 29be2c9

Please sign in to comment.