[BGL] Dynamic property map containing pointers to custom object
test_map(*testmap); boost::dynamic_properties dp; dp.property("test", test_map); //that's the line that cause the
Hi,
i tried to build a property map using the associative_property_map and
putting a poiter to a pure virtual class as value type but i had some
error i can't understand.
I also tried with a normal class pointer and i had the same problem.
/usr/include/boost/dynamic_property_map.hpp:202: error: no match for
‘operator<<’ in'
out << boost::get ...
I'm new to boost and c++, it's likely that i've done some stupid
errors.
I hope somebody can help me.
That's a test that reproduce the problem:
f#include
participants (1)
-
Leonardo Ciman