Is it possible to create new operators with the operator function? Thanks!
Is it possible to create new operators with the operator function? Thanks!
You can make as many forms of operator() as you want, but apart from that, no. The compiler, after all, needs you to use a syntax it understands.
Unless you mean overloading the operator "new", which you can do.
Last edited by Cat; 07-24-2003 at 11:01 PM.
You can only overload existing operators.
The keyboard is the standard device used to cause computer errors!
Not sure, if thats what you mean, but maybe you should givethis a try.Originally posted by Lurker
Is it possible to create new operators with the operator function? Thanks!