Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!uwvax!topaz!bentley!kwh From: kwh@bentley.UUCP (KW Heuer) Newsgroups: net.lang.c++ Subject: Re: Overloading Message-ID: <660@bentley.UUCP> Date: Tue, 25-Mar-86 10:04:20 EST Article-I.D.: bentley.660 Posted: Tue Mar 25 10:04:20 1986 Date-Received: Thu, 27-Mar-86 01:32:29 EST References: <34200008@orstcs.UUCP> Organization: AT&T Bell Laboratories, Liberty Corner Lines: 13 In article <34200008@orstcs.UUCP> orstcs!nathan (nathan) writes: >Just to break my own rule, I propose > spp->>f == (*spp)->f == (**spp).f >for dereferencing "handles". Perhaps a better solution would be to define >a right-binding dereference operator, "^", so that we could say > s.f == sp^.f == spp^^.f >and not need any funny precedence-hacks. Isn't originality wonderful? :-) Actually, there *is* a right-binding dereference operator: "[0]". (Yes, I know it's not perfect -- it won't apply to function pointers, e.g.) (Btw, "^" is a bad choice; it changes the meaning of "x ^ - y".) Karl W. Z. Heuer (ihnp4!bentley!kwh), The Walking Lint