Boost logo

Boost Users :

From: Sean Kelly (sean.kelly_at_[hidden])
Date: 2006-04-25 10:22:34


 

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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net