Boost logo

Boost :

Subject: [boost] [BGL] [Property Map] PropertyGraph concept
From: Cosimo Calabrese (cosimo.calabrese_at_[hidden])
Date: 2009-10-26 05:46:38

Hi to all,

I've taked a look to the PropertyGraph concept, and it defines the
following valid expression:

     get(p, g, x)

and its return type:


Also the docs of Property Map library says that the get() function
return the property *by value*, making a copy of the property.

But looking to the \boost\graph\detail\adjacency_list.hpp file, I've
noticed that the return value of the get function is:

     typename boost::property_traits<
       typename boost::property_map<typename Config::graph_type,

Why this difference? Or they are the same think?

Which is the correct specific?

Thanks in advance,
Cosimo Calabrese.

Boost list run by bdawes at, gregod at, cpdaniel at, john at