Referencestdstacksize member function std::stack::size Header<stack>Draft[stack.defn]Scopestd::stackcppreferencestd::stack::size ↗ Synopsis constexpr size_type size() const;