include vector include unordered_map include range v3 view zip hpp int

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
#include <vector>
#include <unordered_map>
#include <range/v3/view/zip.hpp>
int main() {
using namespace std;
using ranges::view::zip;
int ints[] = {1, 2, 3};
vector<string> strings = {"a", "b"};
unordered_map<int, string> dict(zip(ints, strings));
}