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

FreeBSD Manual Pages

  
 
  

home | help
std::basic_...t_allocator(3)  C++ Standard Libary std::basic_...t_allocator(3)

NAME
       std::basic_string::get_allocator	- std::basic_string::get_allocator

Synopsis
	  allocator_type   get_allocator()  const;			(until
       C++20)
	  constexpr allocator_type  get_allocator()  const  noexcept;	(since
       C++20)

	  Returns the allocator	associated with	the string.

Parameters
	  (none)

Return value
	  The associated allocator.

Complexity
	  Constant.

See also
	  allocator	   the default allocator
			   (class template)
	  allocator_traits provides information	about allocator	types
	  (C++11)	   (class template)
	  uses_allocator    checks if the specified type supports uses-alloca-
       tor construction
	  (C++11)	   (class template)

http://cppreference.com		  2022.07.31	  std::basic_...t_allocator(3)

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

home | help