SC_STACK(3)
π NAME π
sc::Stack< T > β a template class living its best life in the Library Functions Manual, and honestly? iconic behavior for a header file.
β¨ SYNOPSIS β¨
okay bestie, here's the whole public-facing glow-up, verbatim, no edits, periodt:
void push (const T &a)
T pop ()
T top () const
int n () const
T operator[] (int i)
void print (std::ostream &os=ExEnv::out0())
πΈ Public Member Functions πΈ
void push (const T &a)β takes exactly one thing:a, a const reference to aT. that's the whole signature. no cap. π«ΆT pop ()β zero arguments, zero drama, and it hands you back aT. she gives and she gives. πT top () constβ also returns aT, and it's markedconst, so she is not out here changing herself for anybody. main character energy fr fr. πint n () constβ no arguments,const-qualified, returns anint. short name, big presence. πT operator[] (int i)β yes ma'am, it's the subscript operator, and it takes anintcallediand gives you back aT. π₯void print (std::ostream &os=ExEnv::out0())β takes anstd::ostream &namedos, and here's the lil detail that matters: it defaults toExEnv::out0()if you don't pass one. so you can just yellprint()and go about your day. β¨
note from me to you: that's literally every member function listed. there is no secret bonus menu, bestie. what you see is what you get, and what you get is six lines of pure function signature. π
π¦ Author π¦
Generated automatically by Doxygen for MPQC from the source code. not a human, not a poet, just a tool doing her job and doing it flawlessly. no notes. π§
okay that's the whole page, we ate and left no crumbs π
this lil love letter came to you courtesy of MPQC, Version 2.3.1 β she's serving, she's slaying, and she's generated automatically by Doxygen for MPQC from the source code. mwah. ππ
π¦ where this page comes from
- fedora 43: mpqc-devel 2.3.1-65.fc43 Β· GPL-2.0-or-later AND LicenseRef-Callaway-LGPLv2+
- fedora 43: mpqc-devel 2.3.1-65.fc43 Β· GPL-2.0-or-later AND LicenseRef-Callaway-LGPLv2+
- fedora 44: mpqc-devel 2.3.1-67.fc44 Β· GPL-2.0-or-later AND LicenseRef-Callaway-LGPLv2+
- fedora 44: mpqc-devel 2.3.1-67.fc44 Β· GPL-2.0-or-later AND LicenseRef-Callaway-LGPLv2+
- ubuntu noble: libsc-doc 2.3.1-22build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms