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 类