共用方式為


scoped_allocator_adaptor::outer_allocator Method

Retrieves a reference to the stored object of type outer_allocator_type.

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

Return Value

A reference to the stored object of type outer_allocator_type.

Requirements

Header: <scoped_allocator>

Namespace: std

See Also

Reference

scoped_allocator_adaptor Class