From -7579601153152041191
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109fba,f9ed79ff23b2bf91
X-Google-Attributes: gid109fba,public
X-Google-Thread: f7a51,f9ed79ff23b2bf91
X-Google-Attributes: gidf7a51,public
X-Google-Thread: f78e5,f9ed79ff23b2bf91
X-Google-Attributes: gidf78e5,public
From: AllanW@my-dejanews.com
Subject: Re: VC5 and STL question
Date: 1998/10/08
Message-ID: <6vgrf4$53j$1@nnrp1.dejanews.com>#1/1
X-Deja-AN: 398853231
Approved: Fergus Henderson <fjh@cs.mu.oz.au>
References: <361346BC.6D242DCE@tor.ber.hs.nki.no> <kF_R1.6006$1f.1573535@news.tpnet.pl> <dDoS1.5257$Ge.14854362@ptah.visi.com>
X-Snookums: I love you
X-Original-Date: Wed, 07 Oct 1998 22:54:28 GMT
X-Http-User-Agent: Mozilla/4.06 [en] (Win95; U)
X-Complaints-To: news@news.unimelb.edu.au
X-Http-Proxy: 1.0 x14.dejanews.com:80 (Squid/1.1.22) for client 199.125.171.8
X-Trace: izvestia.its.unimelb.edu.au 907814056 15858 128.250.29.17 (8 Oct 1998 02:34:16 GMT)
Organization: Deja News - The Leader in Internet Discussion
X-Article-Creation-Date: Wed Oct 07 22:54:28 1998 GMT
X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBFAgUANhwkkuEDnX0m9pzZAQE22AF/Vn3z+3pvucGpPqku/inpN+B2YtS/iGAr yepRByt+iEp/E9bJ02gDVWVbiEkmwo2a =+BBZ
NNTP-Posting-Date: 8 Oct 1998 02:34:16 GMT
Newsgroups: microsoft.public.vc.language,comp.lang.c++,comp.std.c++

In article <dDoS1.5257$Ge.14854362@ptah.visi.com>,
  "Thomas T. Veldhouse" <veldy@visi.com> wrote:
> How can you wrap the SGI version of STL into its own namespace?  Do I have
> to go and hack all the template code? Or is there another simple method I
> have simply overlooked.

If you want to remove the normal namespace std { } wrap, you
can simply #define __STL_NO_NAMESPACES before including any
SGI headers.

If you really want to wrap all the SGI templates in some other
namespace, such as namespace sgi { }, you should ask yourself
what possible purpose this solves... but if you're beyond that,
and certain you want to do it, then edit the configuration
file. For version 3.11, this is named stl_config.h. There's
about 4 places that define macros which use this name. For
other versions it might be the same filename or some other
name, I'm not sure.

--
AllanW@my-dejanews.com is a "Spam Magnet" -- never read.
Please reply in USENET only, sorry.

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    
---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]



