Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C++ Moderated > Static members
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 9790 of 10094
Post > Topic >>

Static members

by anubhav.saxena@[EMAIL PROTECTED] Jul 15, 2008 at 09:40 AM

Hi,

N2691 states the following

$9.4- "Static members obey the usual class member access rules (clause
11). When used in the declaration of a class member,the static
specifier shall only be used in the member declarations that appear
within the member-specification of the class definition. [ Note: it
cannot be specified in member declarations that appear in namespace
scope. —end note ]"

I seem to have understood everything in the above paragraph except the
ending Note. I feel that the note talks about "member <Definitions>
that appear in namespace scope" rather than "member <declarations>
that appear in namespace scope", unless there is something new in the
standard which I am not aware of.

Please correct my understanding.

Regards,
Anubhav.


-- 
      [ See http://www.gotw.ca/resources/clcm.htm
for info about ]
      [ comp.lang.c++.moderated.    First time posters: Do this! ]
 




 4 Posts in Topic:
Static members
anubhav.saxena@[EMAIL PRO  2008-07-15 09:40:49 
Re: Static members
Greg Herlihy <greghe@[  2008-07-15 20:14:48 
Re: Static members
Alberto Ganesh Barbati &l  2008-07-15 20:28:09 
Re: Static members
Alberto Ganesh Barbati &l  2008-07-16 13:58:11 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Oct 12 22:30:19 CDT 2008.