---
name: "sc_Stack"
section: "3"
platform: "linux"
package: "libsc-doc"
version: "2.3.1-22"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/sc_Stack"
---

# sc\_Stack(3)

## NAME

sc::Stack\< T \>

## SYNOPSIS

### Public Member Functions

void **push** (const T &a)\
 T **pop** ()\
 T **top** () const\
 int **n** () const\
 T **operator\[\]** (int i)\
 void **print** (std::ostream &os=**ExEnv::out0**())\

## Author

Generated automatically by Doxygen for MPQC from the source code.
