Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #6781
| From | "Alf P. Steinbach /Usenet" <alf.p.steinbach+usenet@gmail.com> |
|---|---|
| Newsgroups | comp.lang.c++ |
| Subject | Re: Basic namespace doubt |
| Date | 2011-06-16 10:43 +0200 |
| Organization | A noiseless patient Spider |
| Message-ID | <itcf5a$ot5$1@dont-email.me> (permalink) |
| References | <790b8fe6-b890-4322-be28-d513892e136d@17g2000prr.googlegroups.com> |
* Subhransu, on 16.06.2011 09:46: > > ... if there is any difference between, > > using namespace MyNamespace; > > and > > using namespace ::MyNameSpace; Yes. The "::" is the global namespace. The first directive might refer to some nested MyNamespace. Cheers & hth., - Alf -- blog at <url: http://alfps.wordpress.com>
Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Basic namespace doubt Subhransu <subhransu.sahoo@gmail.com> - 2011-06-16 00:46 -0700
Re: Basic namespace doubt "Alf P. Steinbach /Usenet" <alf.p.steinbach+usenet@gmail.com> - 2011-06-16 10:43 +0200
Re: Basic namespace doubt Saeed Amrollahi <amrollahi.saeed@gmail.com> - 2011-06-16 01:55 -0700
csiph-web