Article View: comp.std.c++
Article #3396Re: Namespace extension
From: Steve Clamage
Date: Thu, 22 Feb 1996 02:51
Date: Thu, 22 Feb 1996 02:51
25 lines
1433 bytes
1433 bytes
In article cdt@ugress.uib.no, boukanov@hadron.fi.uib.no (Igor Boukanov)
writes:
>template <class T> namespace unique {
> ...
>}
>using namespace unique<T>;
>
>but namespace unique is predefined ...
Actually not. The description of the unnamed namespace uses the word
"unique" in italics to represent an arbitrary name chosen by the
compiler which is different from all other names in the program.
You can use the name "unique" for any purpose; it is not reserved or
predefined.
---
Steve Clamage, stephen.clamage@eng.sun.com
---
[ To submit articles: try just posting with your news-reader.
If that fails, use mailto:std-c++@ncar.ucar.edu
FAQ: http://reality.sgi.com/employees/austern_mti/std-c++/faq.html
Policy: http://reality.sgi.com/employees/austern_mti/std-c++/policy.html
Comments? mailto:std-c++-request@ncar.ucar.edu.
]
Technical Details
Message-ID:
<4gfkv5$ju2@engnews1.Eng.Sun.COM>Path:
arc1-ca.pugleaf.net!in2.uu.net!bounce-backReferences:
<4gf60c$cdt@ugress.uib.no>Show Full Headers
Complete Article Headers
From: clamage@Eng.Sun.COM (Steve Clamage) Message-ID: <4gfkv5$ju2@engnews1.Eng.Sun.COM> X-Original-Date: 21 Feb 1996 17:32:21 GMT Path: arc1-ca.pugleaf.net!in2.uu.net!bounce-back Date: 22 Feb 96 02:51:38 GMT Approved: fjh@cs.mu.oz.au Newsgroups: comp.std.c++ Subject: Re: Namespace extension Organization: Sun Microsystems Inc. References: <4gf60c$cdt@ugress.uib.no> Reply-To: clamage@Eng.Sun.COM X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBFAgUBMSvaTeEDnX0m9pzZAQEbmwF+Kyc125MJ56+6Wn07cyl0Jc2FXT4ggIGy cVgVyaU+kCXitVD0rKbMu9OyKNbRPX3+ =s4Yz