🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #2353

Re: global new/delete in a namespace ?

#2353
From: Steve Clamage
Date: Mon, 30 Oct 1995 17:51
23 lines
1189 bytes
In article bbl@voyager.Internex.NET, muzok@msn.com (muzo) writes:
>
>is global new/delete in any namespace ? Are there any discussions about such a
>thing ?

Namespaces don't apply to the keywords "new" and "delete" that introduce 
new-expressions and delete-expressions (any more than namespaces apply
to "if" or "while").

The entire standard C++ library, which includes the various standard versions
of operator new and operator delete, is in the "std" namespace.

---
Steve Clamage, stephen.clamage@eng.sun.com




---
[ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy
  is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Technical Details
Message-ID: <470vgc$it4@engnews1.eng.sun.com>
Path: arc1-ca.pugleaf.net!news.mindlink.net!agate!agate!Matt
References: <46tv9o$bbl@voyager.Internex.NET>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.mindlink.net!agate!agate!Matt
From: clamage@Eng.Sun.COM (Steve Clamage)
Newsgroups: comp.std.c++
Subject: Re: global new/delete in a namespace ?
Date: 30 Oct 1995 17:51:35 GMT
Organization: Sun Microsystems Inc.
Approved: Matt@Austern
Message-ID: <470vgc$it4@engnews1.eng.sun.com>
References: <46tv9o$bbl@voyager.Internex.NET>
Reply-To: clamage@Eng.Sun.COM
NNTP-Posting-Host: austern.hip.berkeley.edu