Boost logo

Boost Users :

From: Elvanör (elvanor2004_at_[hidden])
Date: 2005-03-18 19:17:24


Hi.

>> Any help would be appreciated, and I still think the documentation
>> should mention how to get the type of the bundled properties.
>
> You're absolutely correct. I've just added the aforementioned traits
> with some documentation for them (within the description of bundled
> properties).

I guess all of this is in the CVS, of course... I wondered also if
there was a way to download all of the boost documentation (HTML
format) for offline browsing, rather than going to the web site every
time (maybe this is intentionalk though). I mean, a way different than
downloading the CVS documentation.

I have yet a new question: is it possible to have, as a bundled
property, references to objects and not just the object themselves ?

IE,

        typedef adjacency_list<mapS, vecS, undirectedS, myClass > Graph;

works, but I can't manage to have:

        typedef adjacency_list<mapS, vecS, undirectedS, myClass &> Graph;

(A pointer, though, is ok as I have noted on one of my earlier mails).

I have noted, though, that function such as
add_vertex(const VertexProperties& p, adjacency_list& g) do take a
reference to a VertexProperties. So should I assume that if I construct
my graph in this way (via use of add_vertex, etc...) my bundled
properties will just be references, ie, no copy construction will occur
( and after running my graph algorithms, the modifications on the
bundled properties will still be accessible)?

Jean-Noël



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