共用方式為


<scoped_allocator>

Defines the container template class scoped_allocator.

#include <scoped_allocator>

Operators

operator!=

Tests if the scoped_allocator object on the left side of the operator is not equal to the list object on the right side.

operator==

Tests if the scoped_allocator object on the left side of the operator is equal to the list object on the right side.

Classes

scoped_allocator_adaptor Class

A template class that encapsulates a nest of one or more allocators.

See Also

Reference

Thread Safety in the C++ Standard Library

Standard Template Library

Other Resources

C++ Standard Library Header Files