|
priority_queue::sizepublic member function
size_type size ( ) const; Return size Returns the number of elements in the priority_queue.This member function effectively calls the member with the same name in the underlying container object. ParametersnoneReturn ValueThe number of elements that conform the priority_queue's container content.Member type size_type is an unsigned integral type. Example
Output:
ComplexityConstant.See also
|