std::allocator<T>::allocator
提供: cppreference.com
(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 | - | 構築に使用する別のアロケータ |