Constructors
Declared in <cptr/ordered_map.hpp>
Allocates the header, so it can throw std::bad_alloc.
basic_ordered_map();
» more...
Copies the tree's shape, in linear time. other may be a moved-from map, which has no header.
basic_ordered_map(basic_ordered_map const& other);
» more...
Takes the other map's nodes and header; the other map is left empty and allocates a new header when it is next inserted into.
basic_ordered_map(basic_ordered_map&& other) noexcept;
» more...
Construct from Compare
explicit
basic_ordered_map(Compare const& comp);
» more...
basic_ordered_map(
std::initializer_list<value_type> values,
Compare const& comp = Compare());
» more...
template<std::input_iterator It>
basic_ordered_map(
It first,
It last,
Compare const& comp = Compare());
» more...