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:
> 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:

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, gregod at, cpdaniel at, john at