Boost logo

Boost Users :

From: boost_at_[hidden]
Date: 2006-09-12 09:46:50


Hello Stephan,

Am 12.09.2006 um 12:42 Uhr haben Sie geschrieben:
> typedef adjacency_list < vecS, vecS, undirectedS, tVertex> tGraph;
>
> after that you get a property map from the graph:
> typedef property_map<graph_t, long tVertex::*>::type tDistanceMap;

I think "graph_t" should be "tGraph", shouldn't ist?

When compiling your example, the VC++ compiler puts a lot of Errors:

:\daten\Programme\boost/pending/property.hpp(40) : error C2039: 'kind' :
is not a member of '`global namespace''
        H:\daten\Programme\boost/graph/properties.hpp(198) : see
reference to class template instantiation 'boost::property_kind<long
dreiDmatrix::tVertex::*>' being compiled
        H:\daten\Programme\Matrizen\dreiDmatrix.cpp(255) : see reference
to class template instantiation 'boost::property_map<class
boost::adjacency_list<struct boost::vecS,struct boost::vecS,struct
boost::undirectedS,struct dreiDmatrix::tVertex,str
uct boost::no_property,struct boost::no_property,struct
boost::listS>,long dreiDmatrix::tVertex::*>' being compiled
...

and so on.

What`s wrong? Thank you.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net