SC_STACK(3)

πŸ“¦
version 2.3.1 Β· 3 versions
, in fedora 43, fedora 44, ubuntu noble

πŸ’– 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 a T. that's the whole signature. no cap. 🫢
  • T pop () β€” zero arguments, zero drama, and it hands you back a T. she gives and she gives. πŸ’…
  • T top () const β€” also returns a T, and it's marked const, so she is not out here changing herself for anybody. main character energy fr fr. πŸ‘‘
  • int n () const β€” no arguments, const-qualified, returns an int. short name, big presence. πŸŽ€
  • T operator[] (int i) β€” yes ma'am, it's the subscript operator, and it takes an int called i and gives you back a T. πŸ”₯
  • void print (std::ostream &os=ExEnv::out0()) β€” takes an std::ostream & named os, and here's the lil detail that matters: it defaults to ExEnv::out0() if you don't pass one. so you can just yell print() 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