13 #include <boost/graph/graph_traits.hpp>
27 template<
typename MutableFaceInc
identGraph >
32 typename boost::graph_traits< MutableFaceIncidentGraph >::edge_descriptor
34 std::vector< edge_descriptor > edges_to_remove;
36 auto edges_range_pair =
edges(g);
37 auto iter_e = edges_range_pair.first;
38 for(; iter_e != edges_range_pair.second; ++iter_e)
40 if(std::find(edges_to_remove.begin(), edges_to_remove.end(), *iter_e) !=
41 edges_to_remove.end())
43 auto iter_e_bis = iter_e;
45 for(; iter_e_bis != edges_range_pair.second; ++iter_e_bis)
49 edges_to_remove.push_back(*iter_e_bis);
54 typename std::vector< edge_descriptor >::iterator it_e(
55 edges_to_remove.begin()),
56 it_ee(edges_to_remove.end());
57 for(; it_e != it_ee; ++it_e)
59 edges_to_remove.clear();