#pragma once namespace nall { template auto vector::sort(const function& comparator) -> void { nall::sort(_pool, _size, comparator); } template auto vector::find(const T& value) const -> maybe { for(uint n : range(size())) if(_pool[n] == value) return n; return nothing; } }