#include #include #include #include #include #include #include #include #include #include #include #include typedef CGAL::Simple_cartesian Kernel; typedef CGAL::Arr_segment_traits_2 Arrangement_traits_2; typedef CGAL::Arrangement_2 Arrangement_2; typedef CGAL::Polyhedron_3 Polyhedron; typedef CGAL::Surface_mesh Surface_mesh; typedef CGAL::Triangulation_2 Triangulation_2; typedef CGAL::Linear_cell_complex<3, 3> Linear_cell_complex_3; template void fct(const P& ) { typedef typename boost::graph_traits

::vertex_descriptor vertex_descriptor; std::map M; vertex_descriptor vd; M.find(vd); boost::unordered_map U; U[vd] = 12; } void fct2() { typedef Linear_cell_complex_3::Dart_handle dh; typedef Linear_cell_complex_3::Vertex_attribute_handle vh; { // For dart handle std::map M; dh e; M.find(e); boost::unordered_map U; U[e] = 12; } { // For vertex attribute handle std::map M; vh e; M.find(e); boost::unordered_map U; U[e] = 12; } } int main() { Arrangement_2 A; fct(A); Polyhedron P; fct(P); Surface_mesh S; fct(S); Triangulation_2 T; fct(T); fct2(); return 0; }