Boost logo

Boost :

From: Andrew Sutton (asutton_at_[hidden])
Date: 2008-06-01 07:59:48


>
> class DerivedGraph: public boostd::Graph{
> public:
> class Node: public boostd::Vertex{ //
> error on
> this line
> };
> };
>
> The compiler complains
> error: expected class-name before '{' token

That's because vertex descriptors for listS vector storage have type
void* - which you can't list as a base class.

Andrew Sutton
asutton_at_[hidden]


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk