From -1665931535858964798
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,8ae5df0bebc425df,start
X-Google-Attributes: gidf78e5,public
From: paulp.removethis@ccnet.com (Paul)
Subject: Is this legal C++...?
Date: 1999/03/30
Message-ID: <3700171e.20484763@news.ccnet.com>#1/1
X-Deja-AN: 460785246
Content-Transfer-Encoding: 7bit
Approved: Valentin Bonnard <bonnard@clipper.ens.fr>
X-Original-Date: Tue, 30 Mar 1999 00:15:52 GMT
Content-Type: text/plain; charset=us-ascii
Organization: Verio Northern California's Usenet News Service
X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBVAwUANwDv1KwEuYhIxRhxAQF5BAH/Y2E/yjwe7XNHikTF5d6qoLQRolWKgRwa WXkiVzkUKmNDu3FFCMSL6Dbc2vr3kd69/vGjDaljsgu5hqjwWVEOQA== =+weh
Mime-Version: 1.0
Reply-To: paulp.removethis@ccnet.com
Newsgroups: comp.std.c++

   struct X{
      static const int x=0;
   };

While some compilers reject this, the standard seems to suggest 
that it is legal. See std. sec 9.4.4 and 3.1.

Paul
---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]



