scoped_allocator_adaptor::allocate 메서드
Allocates memory by using the Outer allocator.
pointer allocate(size_type count);
pointer allocate(size_type count, const_void_pointer hint);
매개 변수
count
The number of elements for which sufficient storage is to be allocated.hint
A pointer that might assist the allocator object by locating the address of an object allocated prior to the request.
반환 값
The first member function returns Outer_traits::allocate(outer_allocator(), count). The second member function returns Outer_traits::allocate(outer_allocator(), count, hint).
요구 사항
Header: <scoped_allocator>
네임스페이스: std