![]() |
![]()
| ![]() |
![]()
NAMEstd::queue::size - std::queue::size Synopsissize_type size() const;
Parameters(none) Return valueThe number of elements in the container. ComplexityConstant. Example// Run this code
Output: Initially, container.size(): 0
See also empty checks whether the underlying container is empty
|