C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

language compliance test

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++)
View previous topic :: View next topic  
Author Message
Fraser Ross
Guest





PostPosted: Fri Jun 27, 2003 1:50 pm    Post subject: language compliance test Reply with quote



Does this compile with any compilers? I am looking for criticism of the
code.

enum dummy_name { VALUE=100 } const value=VALUE;

In a different translation unit:

extern enum dummy_name const value;

Also does this syntax compile?:
enum const dummy_name { VALUE=100 } value=VALUE;


Fraser.


Back to top
Fraser Ross
Guest





PostPosted: Fri Jun 27, 2003 1:52 pm    Post subject: Re: language compliance test Reply with quote




Quote:
Does this compile with any compilers? I am looking for criticism of the
code.

Oops. Missed the word NOT.

Fraser.



Back to top
John Harrison
Guest





PostPosted: Sat Jun 28, 2003 12:39 pm    Post subject: Re: language compliance test Reply with quote




"Fraser Ross" <fraserATmembers.v21.co.uk> wrote

Quote:
Can't anyone spare 5 minutes to build a program with this?

Fraser.



Do it yourself

http://www.comeaucomputing.com/tryitout/

or

http://www.dinkumware.com/exam/dinkumExam.aspx

john




Back to top
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.