Conversation started Oct 24, 2011 at 23:51.
Oct 24, 2011 23:51
My theoretical implementation is getting better each day.
I'm collecting silly assumptions by developers that are not guaranteed by the standard and twisting them around.
std::less for pointers is implemented with p > q. std::greater just delegates to std::less.
not sure that's legal, even in the Compiler from Hell
It provides a total order.
That's what's required.
if operator< is defined for two pointers, for example for two objects in an array, then I'm pretty sure that std::less must provide equal results
I can't find that requirement.
it worked!
Oct 24, 2011 23:56
I've been considering inlining everything that is not marked inline (or in the class defintion), and not inlining the rest.
interesting
That would be cruel.
OMG
This is one database query.
 
Conversation ended Oct 24, 2011 at 23:58.