/// "minimal" example using dynamic_properties, does nothing, but compiles #include #include #include typedef boost::shared_ptr my_t; inline std::istream& operator>> (std::istream& is, my_t&) { return is; } typedef boost::property< boost::graph_name_t, my_t > graph_p; typedef boost::adjacency_list < boost::vecS, boost::vecS, boost::directedS, boost::no_property, boost::no_property, graph_p > graph_t; typedef boost::ref_property_map gname_p; int main() { graph_t g(0); boost::dynamic_properties dp; gname_p gname(boost::get_property(g, boost::graph_name)); dp.property("name", gname); } // Local Variables: // mode: C++ // End: