Article View: net.lang.c++
Article #128Re: Wish List
From: kwh
Date: Fri, 28 Mar 1986 20:01
Date: Fri, 28 Mar 1986 20:01
10 lines
1057 bytes
1057 bytes
In article <307@galbp.UUCP> galbp!bing (Bing Bang) writes:
>i like the idea, i suggest changing the syntax to post operators:
> foo = ~foo; --> foo~~; /* Means: please bitwise-complement foo */
> foo = !foo; --> foo!!; /* Means: please logically-complement foo */
>this will avoid any clashes with the existing syntax.
It still can't be extended to the unary minus ("foo--" is taken), which in
my experience is the most common case anyway.
Karl W. Z. Heuer (ihnp4!bentley!kwh), The Walking Lint
Technical Details
Message-ID:
<675@bentley.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!mhuxm!mhuxf!mhuxi!mhuhk!mhuxt!houxm!whuxl!whuxlm!akgua!gatech!seismo!ll-xn!topaz!bentley!kwhReferences:
<307@galbp.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!mhuxm!mhuxf!mhuxi!mhuhk!mhuxt!houxm!whuxl!whuxlm!akgua!gatech!seismo!ll-xn!topaz!bentley!kwh From: kwh@bentley.UUCP Newsgroups: net.lang.c++ Subject: Re: Wish List Message-ID: <675@bentley.UUCP> Date: Fri, 28-Mar-86 15:01:38 EST Article-I.D.: bentley.675 Posted: Fri Mar 28 15:01:38 1986 Date-Received: Tue, 1-Apr-86 06:43:35 EST References: <307@galbp.UUCP> Organization: AT&T Bell Laboratories, Liberty Corner Lines: 10