scoped_allocator_adaptor::outer_allocator 方法

检索对 outer_allocator_type类型的对象的引用。

outer_allocator_type& outer_allocator() noexcept;
const outer_allocator_type& outer_allocator() const noexcept;

返回值

存储对 outer_allocator_type类型的对象的引用。

要求

页眉: <scoped_allocator>

命名空间: std

请参见

参考

scoped_allocator_adaptor 类