Boost logo

Boost Users :

From: dave_at_[hidden]
Date: 2006-05-31 12:25:00

I think there's probably a better way: put all the concepts in a nested namespace of boost and then add a using-directive to expose them in boost... Although I'd really like to see the whole test program first, because it's not obvious where/how the collision occurs.

-----Original Message-----

From: dgregor_at_[hidden]
Subj: Re: [Boost-users] [BGL] Updating to CVS version,typedef ... Graph not working?!
Date: Wed May 31, 2006 10:31 am
Size: 927 bytes
To: boost-users_at_[hidden]
cc: dave_at_[hidden]

> I switched from 1.33.1 to CVS, and after that, my test programm did not
> work any longer ...
> The relevant part is:
> typedef adjacency_list<vecS, vecS, undirectedS,
> property<vertex_name_t, std::string,
> property<decomposition_index_t, int,
> property<coordinates_sq_t, simple_point<double>,
> property<coordinates_circle_t, Polar<double>,
> VParams > > > > > MyGraph;
> (Before it was Graph instead of MyGraph).
> Can someone explain to me what's happening here?

This looks like fallout from recent changes to the concept checking
library. There is now a template called "Graph" in namespace boost, and we
find that as well as your "Graph" typedef.

This might force us to go back to the "Concept" suffix on concept checking
templates, if this problem affects many compilers :(


Dave Abrahams
Boost Consulting

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at