|
Boost Users : |
Subject: [Boost-users] How to declare a structure containing vertex or edge properties?
From: Eric Fowler (eric.fowler_at_[hidden])
Date: 2010-05-05 00:25:53
Sorry if this is a FAQ. I have done this in the past, but can't remember the
exact syntax, and don't have the old code.
It is possible to declare a struct and use it to hold vertex or edge
properties, rather than using the property_map interface, e.g.
struct tagFOO
{
int length;
byte color;
}FOO;
etc.
How can I do this? Where is the doc on it?
Thanks
Eric
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