Name

operator> function template — Compares stacks for greater-than

Synopsis

template <typename T, typename Container>
bool operator>(const stack<T, Container>& x, const stack<T, Container>& y);

The > operator compares two stacks by comparing the adapted containers (e.g., the return value is x.c >= y.c).