MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / takeAt

Method takeAt

source/core/StarList.hpp:701–705  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

699
700template <typename BaseList>
701auto RandomAccessListMixin<BaseList>::takeAt(size_t i) -> value_type {
702 value_type e = at(i);
703 Base::erase(Base::begin() + i);
704 return e;
705}
706
707template <typename BaseList>
708auto RandomAccessListMixin<BaseList>::wrap(size_t n) const -> const_reference {

Callers 3

breakAtPositionMethod · 0.80
chooseOptionFunction · 0.80
chooseSkillsMethod · 0.80

Calls 1

beginFunction · 0.85

Tested by

no test coverage detected