how to empty a graph?

16 Jul
2003
16 Jul
'03
9:47 a.m.
Hello guys, I'm a newbie with boost and I need to empty a Mutable graph in the program I'm doing. is ther another method as remove_edge? /Jérémie

17 Jul
17 Jul
4:51 a.m.
New subject: [Boost-Users] how to empty a graph?
Hello guys,
I'm a newbie with boost and I need to empty a Mutable graph in the program I'm doing. is ther another method as remove_edge?
/Jérémie
Sure: struct always_true { typedef void result_type; template<typename T> bool operator()(const T&) const { return true; } }; remove_edge_if(always_true(), your_graph); Doug
7891
Age (days ago)
7892
Last active (days ago)
1 comments
2 participants
participants (2)
-
Douglas Gregor
-
Jeremie