[Example 1: vector<int> ints{0,1,2,3,4,5};
auto even =[](int i){return0== i %2; };
auto square =[](int i){return i * i; };
for(int i : ints | views::filter(even)| views::transform(square)){
cout << i <<' '; // prints 0 4 16}
assert(ranges::equal(ints | views::filter(even), views::filter(ints, even)));
— end example]