|
Boost Users : |
Subject: Re: [Boost-users] How to declare a structure containing vertex or edge properties?
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2010-05-05 10:25:50
On Tue, 4 May 2010, Eric Fowler wrote:
> 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?
http://www.boost.org/doc/libs/1_42_0/libs/graph/doc/bundles.html
I believe this page will be linked from the BGL documentation table of
contents in 1.43; it is really hard to find now.
-- Jeremiah Willcock
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