Relative Content

Tag Archive for c++20std-rangesrange-v3

Unexpected runtime benchmarks with C++20 ranges

I have a vector of integer. I apply a filter and transform on this vector and returns it. And user call process function on each element of returned vector.
I tried to use std::ranges to optimize away creation of this vector and instead return a view.