blob: 4997ea6300379fe73c548c7f5b2117a62633e6fa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#pragma once
#include "mapped.h"
template<typename TMapping>
auto IterateValues(TMapping&& map) {
return ::MakeMappedRange(
std::forward<TMapping>(map),
[](auto& x) -> decltype((x.second)) {
return x.second;
}
);
}
|