Boost logo

Boost Users :

Subject: Re: [Boost-users] Unable to access graph concepts
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2009-12-13 01:16:22


On Sun, 13 Dec 2009, Nick Wiggill wrote:

> Hi
>
> I'm new to Boost (using 1.41.0) and specifcally the BGL and am having a small
> problem with accessing graph concepts. My IDE (Eclipse/CDT) and compiler
> (GCC 3.4.5) are having trouble seeing definitions of graph concepts, although I
> have included boost/graph/graph_concepts.hpp.
>
> When I type the boost namespace specifier, autocomplete can find e.g.
> EqualityComparable, but it cannot find VertexAndEdgeListGraph (among others...
> but this the one I need).
>
> I can see the basic BCCL concepts from boost/concept_check.hpp just fine,
> making this all the more confusing. My paths are correct, as for example
> adjacency_list (residing in the same path) works fine.
>
> PS. Try to have mercy on me, I'm not only returning to C++ after a number of
> years but I'm also in the process of reacquainting myself fully with generic
> programming (and the STL), something I was never too great at... so a lot of
> things still meet with a blank stare from me. I've just been learning
> these things
> slowly by example and by trial-and-error so far.

It looks like the BGL concepts are in boost::concepts, not just the boost
namespace. Try using that name qualification and try auto-competion
again.

-- Jeremiah Willcock


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