How will I pass ranges instead of iterator-pairs in C++20? : <p>I've heard that C++20 will support acting on ranges, not just begin+end iterator pairs. Does that mean that, in C++20, I'll be able to write:</p>

<pre><code>std::vector&lt;int&gt; vec = get_vector_from_somewhere();
std::sort(vec);
std::vector&lt;float&gt; halves; 
halves.reserve(vec.size());
std::transform(
    vec, std::back_inserter(halves),
    [](int x) { return x * 0.5; }
);
</code></pre>

<p>?</p>
