[BGL] a.k.a. [Graph] -- bundled properties not compiling for me under MS Dev

Hello,
I am using Microsoft Development Environment 2002. I am trying to
compile a Graph and use bundled properties.
The error I am getting:
\src\vtkSNL\Applications\RouteViz\rtrGraph.cxx(37) : error C2676: binary
'[' : 'SimpleGraph' does not define this operator or a conversion to a
type acceptable to the predefined operator
\src\vtkSNL\Applications\RouteViz\rtrGraph.cxx(37) : error C2228: left
of '.i' must have class/struct/union type
The code snippet below exhibits the problem:
struct nodeProp {
int i;
};
struct edgeProp {
int i;
};
typedef adjacency_list
participants (2)
-
Douglas Gregor
-
Goldman, Jon