[BGL] boost::detail::error_property_not_found issue

Hi boost users, at first some pieces of code: class EdgeProperties { public: cPose m_pose; PosePrecision m_precisionPose; }; class VertexContainer { public: VertexID m_idVertex; //!< ID of the container VertexID m_idParent; //!< ID of the parent container unsigned int m_nDepth; //!< Depth of vertex in the tree }; typedef adjacency_list< vecS , vecS , bidirectionalS , VertexContainer , EdgeProperties
BGLGraph;
void traverse(BGLGraph& graphIn, const IDMapper& idMapperIn) {
// Get the index map
typedef property_map

Does anybody know what this means?
Not really. It looks like the instantiation is having trouble finding the color map - which should be created implicitly since you're not specifying one. It may be some kind of odd conflict with your index map. If you're declaring your graphs with VertexList == vecS, you don't need an index map. The graph will implicitly create one for you. Andrew Sutton andrew.n.sutton@gmail.com

Am Di November 18 2008 19:36:34 schrieb Andrew Sutton:
Does anybody know what this means?
Not really. It looks like the instantiation is having trouble finding the color map - which should be created implicitly since you're not specifying one. It may be some kind of odd conflict with your index map. If you're declaring your graphs with VertexList == vecS, you don't need an index map. The graph will implicitly create one for you.
Andrew Sutton andrew.n.sutton@gmail.com
You're right. But I want to implement a method that is independet of the VertexList type. Something I haven't mentioned before: MSVC 7.1 says this is an error, but the compiler seems to ignore them. Because the code will compile. Perhaps it's only an odd warning... Beside that, with VertexList==listS the posted code really doesn't compile. But this is another threat ;-) (see [graph] predecessor_recorder and VertexList=listS) thanks for the response, Manuel
participants (3)
-
Andrew Sutton
-
M. Siebeneicher
-
trashing@gmx.net