Boost logo

Boost :

Subject: Re: [boost] [BGL] trunk@63671: `detail/adjacency_list.hpp` needs to include <algorithm>
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2010-07-05 17:09:18


On Mon, 5 Jul 2010, Daniel Trebbien wrote:

> I get a compilation error in `boost/graph/detail/adjacency_list.hpp`
> that is fixed by adding `#include <algorithm>` to the top:
>
> /usr/local/include/boost/graph/detail/adjacency_list.hpp:1653: error:
> `equal_range` is not a member of `boost::graph_detail`

That file already includes <algorithm> (at least in the trunk), but it
should be getting graph_detail::equal_range from
<boost/pending/container_traits.hpp>; the file also appears to be
including that. Could you please check if your version includes
container_traits? If so, do you know what could cause the functions to
appear to be undefined?

-- Jeremiah Willcock


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk