bs@alice.UucP (Bjarne Stroustrup) (09/15/86)
> 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.