Add 'argument mode adapter' functions to std #1085
Labels
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Milestone
So we have a bunch of higher order functions, that usually take functions with generic, by ref parameters; then we have a bunch of standard utility functions in std::int etc that take their arguments by value.
Both those are the correct decisions individually, but they can't be composed together:
We could have a function that takes it's arguments by ref and calls another function by value:
With which you could
If this is a good idea, then identify a bunch of useful scenarios and write these functions, maybe in std::util.
The text was updated successfully, but these errors were encountered: