|
list::pop_frontpublic member function
void pop_front ( ); Delete first element Removes the first element in the list container, effectively reducing the list size by one.This calls the removed element's destructor. ParametersnoneReturn valuenoneExample
Output:
ComplexityConstant.See also
|