MCPcopy Create free account
hub / github.com/NVIDIA/stdexec / erase

Method erase

include/stdexec/__detail/__static_vector.hpp:140–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138 }
139
140 constexpr auto erase(const_iterator __first, const_iterator __last) noexcept -> iterator
141 {
142 std::move(const_cast<iterator>(__last), end(), const_cast<iterator>(__first));
143 resize(size() - (__last - __first));
144 return end();
145 }
146
147 std::size_t __size_ = 0;
148 value_type __data_[_Capacity];

Callers 4

do_deallocateMethod · 0.45
try_start_nextMethod · 0.45
start_nextMethod · 0.45
STDEXEC_IF_OKFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected