🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #65

Re: legal declarations?

#65
From: mat
Date: Sat, 08 Aug 1992 15:40
16 lines
918 bytes
In article <4054@seti.UUCP>, Daniel.Edelson@inria.fr (Daniel R. Edelson) writes:
> Is "char char c;" a legal declaration?
> 
> Is there language in the draft standard
> that prohibits "char int c;"?

See 7.1.8 of the ARM, which states that with the exception of `long' and
`int', at most one _type-specifier_ may be present in a declaration.

I see no reason why x3j16/WG 22 would drop this requirement.  Whether it
will be rephrased, of course, is another question.
-- 
 (This man's opinions are his own.)
 From mole-end				Mark Terribile

 mat@mole-end.matawan.nj.us, Somewhere in Matawan, NJ
Technical Details
Message-ID: <1992Aug8.154018.20331@mole-end.matawan.nj.us>
Path: arc1-ca.pugleaf.net!sparky!uunet!mole-end!mat
References: <4054@seti.UUCP>

Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c++
Path: arc1-ca.pugleaf.net!sparky!uunet!mole-end!mat
From: mat@mole-end.matawan.nj.us
Subject: Re: legal declarations?
Message-ID: <1992Aug8.154018.20331@mole-end.matawan.nj.us>
Summary: Check the ARM
Organization: :
References: <4054@seti.UUCP>
Date: Sat, 8 Aug 1992 15:40:18 GMT
Lines: 16