Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > static namespace members

Reply
Thread Tools

static namespace members

 
 
Christopher Benson-Manica
Guest
Posts: n/a
 
      07-30-2003
What is the significance of a namespace member declared static, a la

namespace a {
static int b;
}

? I understand that static locals remain allocated between procedure calls,
but I don't see how that relates to namespace-scope variables.

--
Christopher Benson-Manica | Jumonji giri, for honour.
E-mail at ataru(at)cyberspace.org |
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Initialization of static anonymous-namespace members from a dynamicallyloaded lib Alf P. Steinbach /Usenet C++ 16 01-12-2011 10:39 AM
Difference between static final members and final static members(if any)? JFCM Java 4 02-07-2006 11:32 AM
Instantiating a static class( Class with all static members - methods and variables) SaravanaKumar Java 6 10-19-2004 08:20 AM
Class with all static members --> Is namespace() the right choice? qazmlp C++ 2 07-07-2004 05:49 PM
Static classes with static members Ben ASP .Net 3 06-01-2004 07:43 PM



Advertisments