Name: Saladin 2010-12-03 18:49
I am trying to overload operator < in a templated class. Here's the .h file:
http://pastie.org/private/ib0pxua2p5cnulvcggfpw
On line 25, i get error: Declaration of 'operator<' as non-function. Expected ';' before '<' token.
Can someone please explain to me why?
Thanks!
http://pastie.org/private/ib0pxua2p5cnulvcggfpw
On line 25, i get error: Declaration of 'operator<' as non-function. Expected ';' before '<' token.
Can someone please explain to me why?
Thanks!