Boost logo

Boost Users :

From: Stephan Diederich (S.Diederich_at_[hidden])
Date: 2006-09-06 12:21:59


Hi Tom,

2006/9/6, Tom Lenaerts <tlenaert_at_[hidden]>:
>
> Hi all,
>
> I'm completely new to the boost graph library. I was wondering whether
> instead of defining structs and add them as bundled properties to the
> vertices and edges one can also simply add classes and insert instances of
> these classes?

I'm not sure if i get you right. You can use classes as bundled
properties, as they are the same as structs (just private instead of
public as default visibility). But you can't use member functions to
get access to them.

HTH,
Stephan


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