I want to use an existing view for concatenation. In code:
auto rng = view::empty<vector<int>>();
for(int i{0}; i < 5; ++i)
{
vector<int> const & v{foo()}; // returns a reference
rng |= view::concat(v); // doesn't compile - error: no viable overloaded '|='
};
In other words - how can I create a view to multiple vectors whose number is not known until runtime?