boost::gil::histogram::erase

Erases an element from an %unordered_map.

Synopsis

Declared in <boost/gil/histogram.hpp>

iterator
erase(const_iterator __position);

Description

@{

This function erases an element, pointed to by the given iterator, from an %unordered_map. Note that this function only erases the element, and that if the element is itself a pointer, the pointed‐to memory is not touched in any way. Managing the pointer is the user's responsibility.

Return Value

An iterator pointing to the element immediately following __position prior to the element being erased. If no such element exists, end() is returned.

Parameters

Name

Description

__position

An iterator pointing to the element to be erased.

Created with MrDocs