std::map<Key,T,Compare,Allocator>::map
提供: cppreference.com
map(); explicit map( const Compare& comp, {{#pad:|12}} const Allocator& alloc = Allocator() ); |
(1) | |
explicit map( const Allocator& alloc ); |
(1) | (C++11以上) |
| (2) | ||
template< class InputIt > map( InputIt first, InputIt last, {{#pad:|3}} const Compare& comp = Compare(), {{#pad:|3}} const Allocator& alloc = Allocator() ); |
||
template< class InputIt > map( InputIt first, InputIt last, {{#pad:|3}} const Allocator& alloc ); |
(C++14以上) | |
map( const map& other ); |
(3) | |
map( const map& other, const Allocator& alloc ); |
(3) | (C++11以上) |
map( map&& other ); |
(4) | (C++11以上) |
map( map&& other, const Allocator& |