This topic has not yet been rated - Rate this topic

stack::size_type

An unsigned integer type that can represent the number of elements in a stack.

typedef typename Container::size_type size_type;

The type is a synonym for size_type of the base container adapted by the stack.

See the example for size for an example of how to declare and use size_type.

Header: <stack>

Namespace: std

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.