std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>::outermost, outermost-construct, outermost-destroy

These exposition-only helper member function templates are used in member functions construct() and destroy().

# Declarations

template< class Alloc >
/* unspecified */ /*outermost*/( Alloc&& alloc = *this );

(exposition only*)

template< class T, class... Args >
void /*outermost-construct*/( T* p, Args&&... args );

(exposition only*)

template< class T >
void /*outermost-destroy*/( T* p );

(exposition only*)

# Defect reports

DRApplied toBehavior as publishedCorrect behavior
LWG 3116C++11the recursion condition for outermost was “allochas the member function outer_allocator()”changed to “the expressionalloc.outer_allocator() is valid”

# See also