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

Function enumerateConstruct

source/core/StarPythonic.hpp:598–604  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

596
597template <typename ResultContainer, typename Iterable>
598ResultContainer enumerateConstruct(Iterable&& list) {
599 ResultContainer res;
600 for (auto el : enumerateIterator(list))
601 res.push_back(std::move(el));
602
603 return res;
604}
605
606}

Callers

nothing calls this directly

Calls 2

enumerateIteratorFunction · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected