boost::gil::histogram::count

Finds the number of elements.

Synopsis

Declared in <boost/gil/histogram.hpp>

size_type
count(key_type const& __x) const;

Description

@{

This function only makes sense for %unordered_multimap; for %unordered_map the result will either be 0 (not present) or 1 (present).

Return Value

Number of elements with specified key.

Parameters

Name

Description

__x

Key to count.

Created with MrDocs