Boost logo

Boost :

Subject: Re: [boost] [parameter] type requirement compiler error
From: Lorenzo Caminiti (lorcaminiti_at_[hidden])
Date: 2011-11-02 16:40:56


On Mon, Oct 24, 2011 at 2:16 PM, Dave Abrahams <dave_at_[hidden]> wrote:
>
> on Mon Oct 24 2011, lcaminiti <lorcaminiti-AT-gmail.com> wrote:
>
>> Hello all,
>>
>> The following parameter type requirement:
>>
>>     (required (graph, *) )
>>     (optional (root_vertex,
>>                 (typename
>> boost::graph_traits<graph_type>::vertex_descriptor),
>>                 *boost::vertices(graph).first) )
>>
>> Generates a GCC error:
>>
>> dfs.05.cpp:40: error: ‘graph_type’ was not declared in this scope
>
> Yeah.... I'm guessing this is what graphs::graph::_ is all about, but
> according to revision control, Daniel made this happen, and there's
> basically no documentation for it.  Daniel?

Help anyone??

I'm just trying to compile the graph example from the Boost.Parameter
docs, in an ideal world (doc examples added to regression tests) it'd
be easier... please help :)

--Lorenzo


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