Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
std::scoped...r_allocator(3)  C++ Standard Libary std::scoped...r_allocator(3)

NAME
       std::scoped_allocator_adaptor::inner_allocator	-  std::scoped_alloca-
       tor_adaptor::inner_allocator

Synopsis
	  Defined in header <scoped_allocator>
	  inner_allocator_type&	 inner_allocator()  noexcept;		   (1)
       (since C++11)
	  const	 inner_allocator_type&	inner_allocator()  const noexcept; (2)
       (since C++11)

	  Obtains a reference to the inner allocator used to declare this
	  scoped_allocator_adaptor.

	  If sizeof...(InnerAllocs) == 0, that is, no  inner  allocators  were
       declared, returns
	  *this. Otherwise returns a reference to
	  std::scoped_allocator_adaptor<InnerAllocs...>, that is, a scoped al-
       locator composed
	  of all inner allocators of *this, with the first inner allocator be-
       coming the outer
	  allocator.

Parameters
	  (none)

Return value
	  A   reference	  to   the   inner   allocator,	  which	 is  itself  a
       std::scoped_allocator_adaptor.

See also
	  outer_allocator obtains an outer_allocator reference
			  (public member function)

http://cppreference.com		  2022.07.31	  std::scoped...r_allocator(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=std::scoped_allocator_adaptor::inner_allocator&sektion=3&manpath=FreeBSD+Ports+15.0>

home | help