equal_range

Returns a range containing all metadata elements whose (non-standard) key matches the key argument.

The range is defined by two iterators. The first points to the first element in the desired range, and the second points past the last element in the desired range.

Syntax

std::pair<const_iterator, const_iterator> equal_range(const std::string& key) const;