adding objects as bundled properies

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? If this is possible, can anyone explain how this can be done and what the interface of these classes must look like? ciao Tom

Hi Tom,
2006/9/6, Tom Lenaerts
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
participants (2)
-
Stephan Diederich
-
Tom Lenaerts