Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C++ - Overloading < operator

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!

Name: Saladin 2010-12-03 19:19

Method type signature? How is it wrong? plz explain

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List