
15 Sep
2008
15 Sep
'08
10:14 a.m.
Alberto Ganesh Barbati escribió:
joaquin@tid.es 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