共用方式為


scoped_allocator_adaptor::inner_allocator Method

Retrieves a reference to the stored object of type inner_allocator_type.

inner_allocator_type& inner_allocator() noexcept;
const inner_allocator_type& inner_allocator() const noexcept;

Return Value

A reference to the stored object of type inner_allocator_type.

Requirements

Header: <scoped_allocator>

Namespace: std

See Also

Reference

scoped_allocator_adaptor Class