4 ms·
Why are "begin" and "end" functions now instead of methods on the iterator? Do they consider it better because now you can pass around functions, but not metho
by dfrey 13y ago
Why are "begin" and "end" functions now instead of methods on the iterator? Do they consider it better because now you can pass around functions, but not methods?
- fauigerzigerk 13y agoBecause it works with arrays.
- bstamour 13y agoMore than that, actually. Because of argument dependent lookup, this will work for any container that has begin and end functions in the same namespace.