◐ Shell
clean mode source ↗

std::allocator<T>::allocator - cppreference.com

提供: cppreference.com

<tbody> </tbody> <tbody class="t-dcl-rev t-dcl-rev-num "> </tbody><tbody> </tbody> <tbody class="t-dcl-rev t-dcl-rev-num "> </tbody><tbody> </tbody> <tbody class="t-dcl-rev t-dcl-rev-num "> </tbody><tbody> </tbody>

(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以上)

デフォルトのアロケータを構築します。 デフォルトのアロケータはステートレスであるため、コンストラクタは可視な効果を持ちません。

引数