MCPcopy Create free account
hub / github.com/HexHive/NASS / push_front

Method push_front

binderlib/include/utils/Vector.h:204–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202 inline bool empty() const{ return isEmpty(); }
203 inline void push_back(const TYPE& item) { insertAt(item, size(), 1); }
204 inline void push_front(const TYPE& item) { insertAt(item, 0, 1); }
205 inline iterator erase(iterator pos) {
206 ssize_t index = removeItemsAt(static_cast<size_t>(pos-array()));
207 return begin() + index;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected