MCPcopy Create free account
hub / github.com/catboost/catboost / IterateValues

Function IterateValues

library/cpp/iterator/iterate_values.h:6–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4
5template<typename TMapping>
6auto IterateValues(TMapping&& map) {
7 return ::MakeMappedRange(
8 std::forward<TMapping>(map),
9 [](auto& x) -> decltype((x.second)) {
10 return x.second;
11 }
12 );
13}

Callers 2

RangeMethod · 0.85
TESTFunction · 0.85

Calls 1

MakeMappedRangeFunction · 0.85

Tested by

no test coverage detected