boost::gil::histogram::swap

Swaps data with another %unordered_map.

Synopsis

Declared in <boost/gil/histogram.hpp>

void
swap(unordered_map& __x) noexcept(noexcept(this‐>_M_h.swap(__x._M_h)));

Description

This exchanges the elements between two %unordered_map in constant time. Note that the global std::swap() function is specialized such that std::swap(m1,m2) will feed to this function.

Parameters

Name

Description

__x

An %unordered_map of the same element and allocator types.

Created with MrDocs