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

FreeBSD Manual Pages

  
 
  

home | help
std::queue::front(3)	      C++ Standard Libary	  std::queue::front(3)

NAME
       std::queue::front - std::queue::front

Synopsis
	  reference front();
	  const_reference front() const;

	  Returns  reference  to  the first element in the queue. This element
       will be the first
	  element to  be  removed  on  a  call	to  pop().  Effectively	 calls
       c.front().

Parameters
	  (none)

Return value
	  Reference to the first element.

Complexity
	  Constant

See also
	  back access the last element
	       (public member function)
	  pop  removes the first element
	       (public member function)

http://cppreference.com		  2022.07.31		  std::queue::front(3)

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

home | help