Boost logo

Boost :

Subject: Re: [boost] [flyweight] post-review version available
From: joaquin_at_[hidden]
Date: 2008-09-15 06:14:21


Alberto Ganesh Barbati escribió:
> joaquin_at_[hidden] ha scritto:
>
>> For key-value flyweights, Value is *not* required to be assignable or
>> copy constructible,
>> *except* if assignment or construction from value is attempted:
>>
>> flyweight<key_value<key_type,value_type> > fw;
>> value_type v;
>> fw=v; // for this to work value_type must be assignable.
>>
>> (See also http://tinyurl.com/create.php )
>>
>
> I see. That is very good. However you should correct the documentation,
> because it now says clearly in key_value.html: "Let Key be a type with
> some implicit equivalence relationship and Value an Assignable type
> constructible from Key."
>

Ouch! Yes, this is incorrect, thanks for spotting it, will fix it.

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo


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