
30 Aug
2005
30 Aug
'05
7:08 p.m.
On 8/30/05, David Abrahams <dave@boost-consulting.com> wrote:
Matt Calabrese <rivorus@gmail.com> 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