$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: manitou_at_[hidden]
Date: 2005-03-16 19:42:40
Hello,
I have encountered some problems with bundled properties in BGL. The
following syntax works:
property_map<CFD2CSM_graph_t, bool CFD2CSM_vertex_t::*>::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<CFD2CSM_graph_t, bool CFD2CSM_vertex_t::*>::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