Boost logo

Boost :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2007-12-31 20:44:25


Larry Evans wrote:
> On:
>
> http://www.boost.org/libs/mpl/doc/refmanual/map.html
>
> there's the following row in the "Expression Semantics" table:
>
> insert<m,x>::type A new map equivalent to m except that
>
> at< t, key_type<m,x>::type >::type
>
> is identical to value_type<m,x>::type.
>
>
> which is confusing because the 't' in at< t, key_type<m,x>::type >::type
> doesn't occur in the 1st column of that row. Should it read:
>
>
> insert<m,x>::type A new map, t, equivalent to m except that
>
> at< t, key_type<x>::type >::type
>
> is identical to value_type<x>::type.
>
> ?

Yep, that's the intended interpretation. Corrected in the sources
(http://svn.boost.org/trac/boost/changeset/42396).

Thanks!

-- 
Aleksey Gurtovoy
MetaCommunications Engineering

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