I was at work, writing the Comparators in a function (to move later, when I decided where was best), and noticed this peculiarity. I thought about it for a while, and reali
Your code is fine in C++11; there was a restriction about using local types as template arguments in C++03.