std::queue::front(3)
πΈ NAME πΈ
okay bestie, welcome to the std::queue::front(3) page from the C++ Standard Libary manual π
β¨
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)
mwah π this cutie came from http://cppreference.com, version/date 2024.06.10, page std::queue::front(3) ππ¦
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms