🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: global new/delete in a namespace ?

#2388
From: Fergus Henderson
Date: Wed, 01 Nov 1995 23:57
26 lines
1422 bytes

muzok@msn.com (muzo) writes:

>is global new/delete in any namespace ?

No.  I think the committee is planning to clarify the rules
to make it clear that global new/delete must not be defined
inside a namespace.

>Are there any discussions about such a thing ?

Yes, the committee has discussed this issue.  I think the conclusion
was that allowing global new/delete to be defined inside namespaces
would require some new (and complicated) lookup rules, and no-one was
interested in doing the work required for a proposal on the issue - I
guess the additional complexity outweighed any potential benefits.

--
Fergus Henderson             	WWW: http://www.cs.mu.oz.au/~fjh
fjh@cs.mu.oz.au              	PGP: finger fjh@128.250.37.3

---
[ 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: <9530610.7402@mulga.cs.mu.OZ.AU>
Path: arc1-ca.pugleaf.net!128.32.155.1!matt
References: <46tv9o$bbl@voyager.Internex.NET>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!128.32.155.1!matt
From: fjh@munta.cs.mu.OZ.AU (Fergus Henderson)
Newsgroups: comp.std.c++
Subject: Re: global new/delete in a namespace ?
Date: 01 Nov 1995 23:57:38 GMT
Organization: Computer Science, University of Melbourne, Australia
Approved: matt@physics10.Berkeley.EDU (Matt Austern)
Message-ID: <9530610.7402@mulga.cs.mu.OZ.AU>
References: <46tv9o$bbl@voyager.Internex.NET>
NNTP-Posting-Host: physics10.berkeley.edu