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

Function IterateKeys

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

Source from the content-addressed store, hash-verified

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

Callers 1

TESTFunction · 0.85

Calls 1

MakeMappedRangeFunction · 0.85

Tested by

no test coverage detected