function template · 8 overloads
std::erase
- Header
<deque>also in<forward_list>,<hive>,<inplace_vector>,<list>,<string>and 1 more- Draft
- [deque.syn]
- Scope
std- cppreference
- std::erase
Overloads
- (1)
template<class Allocator, class U = bool> constexpr vector<bool, Allocator>::size_type erase( vector<bool, Allocator>& c, const U& value); - (2)
template<class T, class Allocator, class U = T> constexpr deque<T, Allocator>::size_type erase( deque<T, Allocator>& c, const U& value); - (3)
template<class T, class Allocator, class U = T> constexpr forward_list<T, Allocator>::size_type erase( forward_list<T, Allocator>& c, const U& value); - (4)
template<class T, class Allocator, class U = T> hive<T, Allocator>::size_type erase(hive<T, Allocator>& c, const U& value); - (5)
template<class T, size_t N, class U = T> constexpr inplace_vector<T, N>::size_type erase( inplace_vector<T, N>& c, const U& value); - (6)
template<class T, class Allocator, class U = T> constexpr list<T, Allocator>::size_type erase( list<T, Allocator>& c, const U& value); - (7)
template<class T, class Allocator, class U = T> constexpr vector<T, Allocator>::size_type erase( vector<T, Allocator>& c, const U& value); - (8)
template<class charT, class traits, class Allocator, class U = charT> constexpr basic_string<charT, traits, Allocator>::size_type erase( basic_string<charT, traits, Allocator>& c, const U& value);