not be able to pass func and the decltype be applied automagically. For example, if I had to do sort<decltype(cmp)>(a.begin(), a.end(), cmp), it would be tedious, no?
So, how do we know which type of arguments and its count will be handled?
Обсуждают сегодня