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::outer_allocator	-  std::scoped_alloca-
       tor_adaptor::outer_allocator

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

	  Obtains a reference to the outer  allocator  used  to	 declare  this
       class.

	  1) Returns static_cast<OuterAlloc&>(*this).
	  2) Returns static_cast<const OuterAlloc&>(*this).

Parameters
	  (none)

Return value
	  A reference to OuterAlloc.

See also
	  inner_allocator obtains an inner_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::outer_allocator&sektion=3&manpath=FreeBSD+Ports+15.0>

home | help