overload std::min_element and std::max_element with one argument

817 views
Skip to first unread message

omaga...@gmail.com

unread,
Mar 20, 2019, 3:33:12 PM3/20/19
to ISO C++ Standard - Future Proposals
Greetings!


Why not overload std::min_element and std::max_element to accept only one argument, which is an appropriate container type, instead of sending starting and ending forward iterators? Would it take much overhead in the library?

Not that it's a big deal to type two arguments each time, but still.




Regards,

Oto
Reply all
Reply to author
Forward
Message has been deleted
0 new messages