Path: utzoo!utgpu!water!watmath!clyde!rutgers!mcnc!gatech!hubcap!ncrcae!ncr-sd!hp-sdd!hplabs!sdcrdcf!trwrb!scgvaxd!stb!tracer From: tracer@stb.UUCP (Jeff Boeing) Newsgroups: comp.lang.c++ Subject: Re: Operator overloading considered harmful Message-ID: <10067@stb.UUCP> Date: 10 Feb 88 18:10:10 GMT References: <240@vsi1.UUCP> <8180001@nucsrl.UUCP> Reply-To: tracer@stb.UUCP (Jeff Boeing) Organization: STB BBS, La, Ca, USA, 90402 Lines: 16 In article <8180001@nucsrl.UUCP> gore@nucsrl.UUCP (Jacob Gore) writes: >It was my impression that in C++ you could not define operators with new names >-- only overload existing names. Aw, dingleberries! Does that mean I can't overload an operator called "**" and use it for exponents?! Drageburgers. We're right back to Kernighan & Ritchie's old double pwr(double x, int y) function. -- Jeff Boeing (which is not my real name) | uunet!stb.uucp!tracer ------------------------------------------|------------------------ "All right, you weak bosons! You're not dealing with some obscure 9th-level by-the-book paladin anymore!" -- Sick Sword