Thank you. I agree that I did not provide sufficient information. In this case, the problem was that vertex_index_t and edge_index_t were not defined in my bundled properties

typedef property<vertex_index_t, size_t, Protein> ProteinProp;
typedef property<edge_index_t, size_t, PPI> PPIProp;
typedef subgraph< adjacency_list<vecS, vecS, undirectedS, ProteinProp, PPIProp > > PPIGraph;
PPIGraph flyGraph;

works!

Also thank you for your reply to my other post. 




On Oct 18, 2009, at 8:09 AM, Andrew Sutton wrote:

typedef subgraph< adjacency_list<vecS, vecS, undirectedS, Protein, PPI > > PPIGraph;
PPIGraph flyGraph;

gives error

invalid application of 'sizeof' to incomplete type 'boost::STATIC_ASSERTION_FAILURE<false>'

Does anyone know what the problem is?

No. You have to give substantially more information about your problem if anybody is going to help diagnose it. Compiler, operating system, line numbers, files, a little example of how you're using the class?
 
Andrew Sutton
andrew.n.sutton@gmail.com
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users