std::allocator<T>:: allocator
From ja.cppreference.net
| (1) | ||
|
allocator
(
)
throw
(
)
;
|
(C++11まで) | |
|
allocator
(
)
noexcept
;
|
(C++11から)
(C++20まで) |
|
|
constexpr
allocator
(
)
noexcept
;
|
(C++20から) | |
| (2) | ||
|
allocator
(
const
allocator
&
other
)
throw
(
)
;
|
(C++11まで) | |
|
allocator
(
const
allocator
&
other
)
noexcept
;
|
(C++11から)
(C++20まで) |
|
|
constexpr
allocator
(
const
allocator
&
other
)
noexcept
;
|
(C++20から) | |
| (3) | ||
|
template
<
class
U
>
allocator ( const allocator < U > & other ) throw ( ) ; |
(C++11まで) | |
|
template
<
class
U
>
allocator ( const allocator < U > & other ) noexcept ; |
(C++11から)
(C++20まで) |
|
|
template
<
class
U
>
constexpr allocator ( const allocator < U > & other ) noexcept ; |
(C++20から) | |
デフォルトのアロケータを構築します。デフォルトのアロケータはステートレスであるため、コンストラクタには可視的な効果はありません。
パラメータ
| other | - | 構築に使用する別のアロケータ |