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@osl.iu.edu 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@lists.boost.org cc: dave@boost-consulting.com
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
> > > > MyGraph; (Before it was Graph instead of MyGraph). [snip] 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 :( Doug -- Dave Abrahams Boost Consulting http://www.boost-consulting.com