Is this possible in C++?

I was in a C++ class today and a lecturer(teaching Java) said the use of <> as Operator in C++ is possible and I searched every forums i know,i just still didnt get the right answer. So my question is "Is the use of <> as operator valid? And when can it be used,what does it denote?".
No. <> is not, and can not be used as, an operator in C++.
Last edited on
it is used for template
More please?? @coder777
Look at this: http://en.wikipedia.org/wiki/Template_%28C%2B%2B%29

as Peter87 said it's not a mathematical operator. unequal is '!='
C++ has no such an operator as <>, and only existent C++ operators can be overloaded.
Topic archived. No new replies allowed.