
on 04.05.2010 at 5:22 Scott McMurray wrote :
That said, I'm not sure whether it's better to not provide min and max, and thus catch code that uses them without checking is_bounded, or to possibly make it easier to correctly write code that does check is_bounded.
a very good point i wish it were said in the standard explicitly
And who knows -- maybe making it easy with SFINAE would mean that those developers that don't know will go looking for the clean way and learn a new tool.
typically a programmer (especially a C++ one) is a very lazy beast so i'm afraid if one encounters a thing he can not understand he'll drop this lib and go for another one which he'd understand better (easier) -- Pavel P.S. if you notice a grammar mistake or weird phrasing in my message please point it out