xtd 0.2.0
Loading...
Searching...
No Matches

◆ pop_back()

template<typename type_t , typename allocator_t = xtd::collections::generic::helpers::allocator<typename std::conditional<std::is_same<bool, type_t>::value, char, type_t>::type>>
virtual void xtd::collections::generic::list< type_t, allocator_t >::pop_back ( )
inlinevirtual

Removes the last element of the container.

Remarks
Calling pop_back on an empty container results in undefined behavior.
Iterators (including the xtd::collections::generic::list::end() iterator) and references to the last element are invalidated.