Conversation started Oct 24, 2011 at 23:51.
R. Martinho Fernandes
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
.
DeadMG
not sure that's legal, even in the Compiler from Hell
R. Martinho Fernandes
It provides a total order.
That's what's required.
DeadMG
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
R. Martinho Fernandes
I can't find that requirement.
Tony The Lion
it worked!
R. Martinho Fernandes
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.
DeadMG
interesting
R. Martinho Fernandes
That would be cruel.
OMG
This is
one
database query.
Conversation ended Oct 24, 2011 at 23:58.
all rooms
Hell++_0
Oct '11
24
Lounge<C++>
Today we're daydreaming about C++26 reflection
5
context of the conversation
join this room
about this room
Participants
R. Martinho Fernandes
73%
DeadMG
20%
Tony The Lion
6%
all times are UTC
site design / logo © 2024 Stack Exchange Inc;
legal
mobile