Using bind/lambda to extract graph bundled properties from overloaded operator[]
25 Apr
2006
25 Apr
'06
2:22 p.m.
Hi All, I'm attempting to use bind to extract bundled properties from a adjacency_list graph via the syntax below. ToyGraph g; ToyGraph::vertex_descriptor v; bind(&ToyGraph::operator[], ref(g), _1)(v); this fails to compile (I assume because opertor[] is overloaded) bind(&ToyGraph::swap, ref(g), _1)(g); works fine -- any suggestions on how to make the former work are appreciated. thanks Sean Windows XP Professional SP1, Boost 1_32_0
6792
Age (days ago)
6792
Last active (days ago)
0 comments
1 participants
participants (1)
-
Sean Kelly