Skip to content

Unique_hash_map can not be specialized by Face_handle? #5961

Answered by lrineau
xuanjueheshang asked this question in Q&A
Discussion options

You must be logged in to vote

I get it.

The compilation error is:

.../Hash_map/include/CGAL/Handle_hash_function.h:37:11: error: no type named ‘value_type’ in ‘struct std::iterator_traits<CGAL::VoronoiDiagram_2::Internal::Handle_adaptor<CGAL::VoronoiDiagram_2::Internal::Face<CGAL::Voronoi_diagram_2<CGAL::Delaunay_triangulation_2<CGAL::Epick>, CGAL::Delaunay_triangulation_adaptation_traits_2<CGAL::Delaunay_triangulation_2<CGAL::Epick> >, CGAL::Delaunay_triangulation_caching_degeneracy_removal_policy_2<CGAL::Delaunay_triangulation_2<CGAL::Epick> > > > > >’
   37 |           sizeof( typename std::iterator_traits<H>::value_type);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The issue is that CG…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@xuanjueheshang
Comment options

Comment options

You must be logged in to vote
1 reply
@xuanjueheshang
Comment options

Answer selected by xuanjueheshang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants