allocator();
|
(1) | |
allocator( const allocator& other );
|
(2) | |
template< class U >
allocator( const allocator<U>& other ); |
(3) | |
构造一个默认分配器。因为默认分配器是无状态的,故构造函数无可见效应。
other | - | 用以构造的另一 allocator |
(无) | (C++11 前) |
noexcept 规定:
noexcept
|
(C++11 起) |