
17 Mar
2005
17 Mar
'05
12:42 a.m.
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