MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / ReverseRange

Function ReverseRange

Bcore/src/main/cpp/base/iteration_range.h:58–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56
57template <typename Container>
58inline auto ReverseRange(Container&& c) {
59 typedef typename std::reverse_iterator<decltype(c.begin())> riter;
60 return MakeIterationRange(riter(c.end()), riter(c.begin()));
61}
62
63template <typename T, size_t size>
64inline auto ReverseRange(T (&array)[size]) {

Callers

nothing calls this directly

Calls 3

MakeIterationRangeFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected