Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site sftri.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxj!mhuxn!mhuxm!sftig!sftri!jss From: jss@sftri.UUCP (J.S.Schwarz) Newsgroups: net.lang.c Subject: Re: C++ anomaly (maybe) Message-ID: <301@sftri.UUCP> Date: Mon, 7-Jan-85 14:55:01 EST Article-I.D.: sftri.301 Posted: Mon Jan 7 14:55:01 1985 Date-Received: Tue, 8-Jan-85 05:45:30 EST References: <96@uwvax.UUCP> Distribution: net Organization: AT&T Bell Laboratories, Summit N.J. Lines: 15 > The C++ description in the latest BLTJ describes the input and output > primitives as being '<<' and '>>'. > > What's to become of writing '1<<31' instead of the more readable (:-)) > '4294967296'? > > Brian Pinkerton @ wisconsin One of the most powerful features of C++ is the ability to overload operators. This means you can add new uses without lossing old one. << and >> still mean shifts when both operands are integers. Jerry Schwarz Bell Labs, Summit N. J.