Boost logo

Boost :

From: Matt Calabrese (rivorus_at_[hidden])
Date: 2005-08-30 14:08:21


On 8/30/05, David Abrahams <dave_at_[hidden]> wrote:
>
> Matt Calabrese <rivorus_at_[hidden]> writes:
>
> That behavior matches the specified semantics of "count" perfectly:
>
> http://www.boost.org/libs/mpl/doc/refmanual/count.html
>
> Elements of a map are pairs.

There appears to be a conflict in documentation, then. While the count
description reads as you claim, check the documentation of count listed in
map's description:

http://www.boost.org/libs/mpl/doc/refmanual/map.html

Taken directly from that page:

" count<m,k>::type The number of elements with the key k in m; see
Associative Sequence."

In this case, I guess it's the documentation that must be changed.

-Matt Calabrese


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