M. Siebeneicher | 18 Nov 15:49

[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) {
	
(Continue reading)

Andrew Sutton | 18 Nov 19:36

Re: [BGL] boost::detail::error_property_not_found issue


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 <at> gmail.com
_______________________________________________
Boost-users mailing list
Boost-users <at> lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users
trashing | 18 Nov 21:12

Re: [BGL] boost::detail::error_property_not_found issue

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 <at> 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

Gmane