std::queue::back(3)
π¦ std::queue::back(3) π¦
okay so this one comes from the C++ Standard Libary manual β yes, that spelling is exactly what was up top, and we're keeping it, bestie π.
β¨ NAME β¨
std::queue::back - std::queue::back
πΈ Synopsis πΈ
reference back();
const_reference back() const;
Returns reference to the last element in the queue. This is the most recently pushed element. Effectively calls c.back().
π«Ά Parameters π«Ά
- (none) β no parameters, not a single one π
π Return value π
Reference to the last element. That's it, that's the return value, periodt.
β Complexity β
Constant.
π See also π
frontβ access the first element (public member function)pushβ inserts element at the end (public member function)
source/version: http://cppreference.com Β· date: 2024.06.10 β bye bestie, go slay those queues ππ¦β¨
π¦ 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