[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
Goldman, Jon wrote:
Hello,
I am using Microsoft Development Environment 2002. I am trying to compile a Graph and use bundled properties. [snip] Anybody familiar with this problem?
Bundled properties aren't supported in Visual Studio 2002, because the compiler cannot handle the code needed to make them work. Visual Studio 2003 and 2005 are needed for bundled properties. Sorry :( Doug
participants (2)
-
Douglas Gregor
-
Goldman, Jon