MCPcopy Create free account
hub / github.com/MariaDB/server / push_front

Method push_front

include/ilist.h:210–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208 void pop_back() noexcept { erase(--end()); }
209
210 void push_front(reference value) noexcept { insert(begin(), value); }
211 void pop_front() noexcept { erase(begin()); }
212
213 // STL version is O(n) but this is O(1) because an element can't be inserted

Callers

nothing calls this directly

Calls 1

insertFunction · 0.85

Tested by

no test coverage detected