Boost logo

Boost :

From: Daniel Walker (daniel.j.walker_at_[hidden])
Date: 2007-10-28 10:07:53


On 10/28/07, shunsuke <pstade.mb_at_[hidden]> wrote:
> Hi,
>
> range/concepts.hpp is utterly broken.
> You can't even include it.
> Anyone plans to fix it? or may I make a patch?

Could you be more specific? Which version of boost, compiler, etc. For
example, I just tried the following with svn trunk, and it compiled
without errors.

$ cat test.cpp
#include <boost/concept_check.hpp>
#include <boost/range/concepts.hpp>
#include <boost/range.hpp>

using namespace boost;

main()
{
    function_requires<ForwardRangeConcept<iterator_range<int*> > >();
}

$ g++ -dumpversion
4.1.2

$ g++ -Itrunk test.cpp

Thanks,
Daniel Walker


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