scoped_allocator_adaptor::scoped_allocator_adaptor 생성자
scoped_allocator_adaptor 개체를 생성합니다.
scoped_allocator_adaptor();
scoped_allocator_adaptor(const scoped_allocator_adaptor& right) noexcept;
template<class Outer2>
scoped_allocator_adaptor(
const scoped_allocator_adaptor<Outer2, Inner...>& right) noexcept;
template<class Outer2>
scoped_allocator_adaptor(
scoped_allocator_adaptor<Outer2, Inner...>&& right) noexcept;
template<class Outer2>
scoped_allocator_adaptor(Outer2&& al,
const Inner&... rest) noexcept;
매개 변수
right
기존 scoped_allocator_adaptor입니다.al
An existing allocator to be used as the outer allocator.rest
A list of allocators to be used as the inner allocators.
설명
The first constructor default constructs its stored allocator objects. Each of the next three constructors constructs its stored allocator objects from the corresponding objects in right. The last constructor constructs its stored allocator objects from the corresponding arguments in the argument list.
요구 사항
Header: <scoped_allocator>
네임스페이스: std