Hi I am trying to create a grpah structire using the Boost graph library and I get an error whe I try to compile this code:
//Code used to create an adjacency list graph with vertex and edge properties.
template <typename PropertyTag, typename T, typename NextProperty = no_property> struct property;
typedef ::property < vertex_name_t, CSmartLink* > VertexProperties; typedef ::property < edge_weight_t, int > EdgeProperties; typedef adjacency_list<listS,vecS,undirectedS, VertexProperties, EdgeProperties ,no_property> Graph; Graph angle_list(mnAngleMatrixSize);
This is the error that displays:
error C2079: 'boost::property<Tag,T>::m_value' uses undefined struct 'property<PropertyTag,T>' C:\boost\boost_1_33_1\boost\pending\property.hpp
Any ideas how to fix it?
Log in to post a comment.
Hi I am trying to create a grpah structire using the Boost graph library and I get an error whe I try to compile this code:
//Code used to create an adjacency list graph with vertex and edge properties.
template <typename PropertyTag, typename T, typename NextProperty = no_property> struct property;
typedef ::property < vertex_name_t, CSmartLink* > VertexProperties;
typedef ::property < edge_weight_t, int > EdgeProperties;
typedef adjacency_list<listS,vecS,undirectedS, VertexProperties, EdgeProperties ,no_property> Graph;
Graph angle_list(mnAngleMatrixSize);
This is the error that displays:
error C2079: 'boost::property<Tag,T>::m_value' uses undefined struct 'property<PropertyTag,T>' C:\boost\boost_1_33_1\boost\pending\property.hpp
Any ideas how to fix it?