Hello,
it looks like there is missing the default constructor in the class
template
struct bundle_property_map
: put_get_helper >
I have just added
bundle_property_map(){}
into the class and it seems to work alright. However I don't know if this is
a correct solution and the default constructor was just forgotten, or if
this may lead to some unwanted behavior with bundled properties. It would be
nice to get some feedback on this.
Cheers,
Marc
--- Weitergeleitete Nachricht / Forwarded Message ---
Date: Thu, 17 Mar 2005 01:42:40 +0100 (MET)
From: manitou@gmx.ch
To: boost-users@lists.boost.org
Subject: BGL - bundled properties
Hello,
I have encountered some problems with bundled properties in BGL. The
following syntax works:
property_map::type is_CSM_map =
get(&CFD2CSM_vertex_t::is_CSM_node, CFD2CSM_graph);
However, if I make two statements out of it I get some type-mismatch error
property_map::type is_CSM_map;
is_CSM_map = get(&CFD2CSM_vertex_t::is_CSM_node, CFD2CSM_graph);
What is the reason for this behavior? Why is the second statement not ok?
Cheers,
Marc
--
DSL Komplett von GMX +++ Supergünstig und stressfrei einsteigen!
AKTION "Kein Einrichtungspreis" nutzen: http://www.gmx.net/de/go/dsl
--
SMS bei wichtigen e-mails und Ihre Gedanken sind frei ...
Alle Infos zur SMS-Benachrichtigung: http://www.gmx.net/de/go/sms