[range] Interest in range_call function?
Hi,
I'm checking to see if there's interest in a range_call function that
makes calling iterator-based algorithms with ranges a little less
painful. Simply put, range_call takes a function and an argument list
and forwards the arguments to the function while expanding ranges into
begin/end iterator pairs. For example:
range_call(std::sort, vec, std::greater<int>());
It can also transform the result a la Boost.Range:
range_call(std::copy,
range_call
participants (1)
-
Arthur Rosenstein