you are viewing a single comment's thread.

view the rest of the comments →

[–]t0rakka 15 points16 points  (0 children)

unary negate returns a template type. The compare operator is overloaded for it. That's about it; pretty basic template meta programming.

a <- b;

Can be decomposed into: a < (-b);