std::unordered_multimap::unordered_multimap
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
| explicit unordered_multimap( size_type bucket_count = /*implementation-defined*/, const Hash& hash = Hash(), |
(1) | (начиная с C++11) |
| explicit unordered_multimap( const Allocator& alloc ); |
(1) | (начиная с C++11) |
| template< class InputIt > unordered_multimap( InputIt first, InputIt last, |
(2) | (начиная с C++11) |
| unordered_multimap( const unordered_multimap& other ); |
(3) | (начиная с C++11) |
| unordered_multimap( const unordered_multimap& other, const Allocator& alloc ); |
(3) | (начиная с C++11) |
| unordered_multimap( unordered_multimap&& other ); |
(4) | (начиная с C++11) |
| unordered_multimap( unordered_multimap&& other, const Allocator& alloc ); |
(4) | (начиная с C++11) |
| unordered_multimap( std::initializer_list<value_type> init, size_type bucket_count = /*implementation-defined*/, |
(5) | (начиная с C++11) |
bucket_count как минимальное количество ковшей для создания, hash в качестве хэш-функции, equal как функцию для сравнения ключей и alloc как распределитель. bucket_count as a minimal number of buckets to create, hash as the hash function, equal as the function to compare keys and alloc as the allocator. You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[first, last).[first, last).You can help to correct and verify the translation. Click here for instructions.
other. Если alloc не предусмотрено, распределитель получить по телефону std::allocator_traits<allocator_type>::select_on_copy_construction(other).other. If alloc is not provided, allocator is obtained by calling std::allocator_traits<allocator_type>::select_on_copy_construction(other).You can help to correct and verify the translation. Click here for instructions.
other использованием движение семантики. Если alloc не предусмотрено, распределитель получается ход строительства от распределения принадлежащих other.other using move semantics. If alloc is not provided, allocator is obtained by move-construction from the allocator belonging to other.You can help to correct and verify the translation. Click here for instructions.
init. init. You can help to correct and verify the translation. Click here for instructions.
Содержание |
[править] Параметры
| alloc | - | распределителя использовать для всех выделения памяти этого контейнера
Original: allocator to use for all memory allocations of this container The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| bucket_count | - | минимальное количество ковшей для использования на инициализацию. Если он не указан, определяется реализацией используется значение по умолчанию
Original: minimal number of buckets to use on initialization. If it is not specified, implementation-defined default value is used The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| hash | - | хэш-функции для использования
Original: hash function to use The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| equal | - | Функция сравнения, используемый для всех сравнений ключей этого контейнера
Original: comparison function to use for all key comparisons of this container The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| first, last | - | Диапазон скопировать элементы
Original: the range to copy the elements from The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| other | - | другой контейнер, который будет использоваться в качестве источника для инициализации элементов контейнера с
Original: another container to be used as source to initialize the elements of the container with The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| init | - | список инициализации элементов контейнера
Original: initializer list to initialize the elements of the container with The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| Требования, накладываемые на типы | ||
-InputIt должен соответствовать требованиям InputIterator.
| ||
[править] Сложность
| Этот раздел не завершён |
You can help to correct and verify the translation. Click here for instructions.
first и lastfirst and lastYou can help to correct and verify the translation. Click here for instructions.
otherotherYou can help to correct and verify the translation. Click here for instructions.
alloc дается и alloc != other.get_allocator(), то линейная.alloc is given and alloc != other.get_allocator(), then linear.You can help to correct and verify the translation. Click here for instructions.
initinitYou can help to correct and verify the translation. Click here for instructions.
[править] Пример
| Этот раздел не завершён Причина: нет примера |
[править] См. также
| присваивает значения в контейнере Original: assigns values to the container The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (public функция-член) | |