Article View: net.lang.c++
Article #311ansi - unsigned
From: Bjarne Stroustrup
Date: Mon, 15 Sep 1986 00:46
Date: Mon, 15 Sep 1986 00:46
16 lines
1250 bytes
1250 bytes
> Subject: Re: (or does it?) > Path: ..!sun!guy (Guy Harris @ Sun Microsystems, Inc.) > ANSI C compatibility. From the May 1, 1986 draft, p. 23: > > The type of an integer constant is the first of the > corresponding list in which its value can be represented. > Unsuffixed decimal: "int", "long int", "unsigned long int"; > unsuffixed octal or hexadecimal: "int", "unsigned int", > "long int", "unsigned long int"; suffixed by the letter "u" > or "U": "unsigned int", "unsigned long int"; suffixed by the > letter "l" or "L": "long int", "unsigned long int"; > suffixed by both the letters "u" or "U" and "l" or "L": > "unsigned long int". Yes, in such matters C++ will follow ANSI C. There will be no gratuitous incompatibilities.
Technical Details
Message-ID:
<6056@alice.uUCp>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!alice!bsShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site alice.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!alice!bs From: bs@alice.UucP (Bjarne Stroustrup) Newsgroups: net.lang.c++ Subject: ansi - unsigned Message-ID: <6056@alice.uUCp> Date: Sun, 14-Sep-86 20:46:17 EDT Article-I.D.: alice.6056 Posted: Sun Sep 14 20:46:17 1986 Date-Received: Mon, 15-Sep-86 04:47:35 EDT Organization: Bell Labs, Murray Hill Lines: 16