Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2005-07-10 17:36:14


Douglas Gregor <doug.gregor_at_[hidden]> writes:

> On Jul 10, 2005, at 11:30 AM, David Abrahams wrote:
>
>> David Abrahams <dave_at_[hidden]> writes:
>>
>>> Anyway, suppose I want to use your simplified example. What is the
>>> *value* of the last "nontrivial default?"
>>>
>>> You wrote:
>>>
>>> vector_property_map<color_type, typeof(index_map)>
>>>
>>> but as I said, that seems to be a type!
>>>
>>
>> No reply?
>
> I gave the value in my other reply: The type is above; given n =
> num_vertices(graph), the default value of color_map is:
>
> vector_property_map<default_color_type, typeof(index_map)>(n,
> index_map);

Thanks; I missed that.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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