🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

[Q] Merging identical functions

#2346
From: bnr (n.) postmaster
Date: Sun, 29 Oct 1995 21:59
18 lines
1329 bytes
I'm running into problems because a package I use under C++ defines
the same "inline void* operator new(size_t, void* p) { return p; }" as
the STL does.

Is there anything in the C++ standard that will allow identical
definitions such as this to be merged?  It seems that, especially with
the above case, such conflicts are likely to be common.

                                        Brian
                                 ( bcwhite@bnr.ca )

-------------------------------------------------------------------------------
    In theory, theory and practice are the same.  In practice, they're not.

[ 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: <470tgs$it6@engnews1.eng.sun.com>
Path: arc1-ca.pugleaf.net!taumet.Eng.Sun.COM!clamage

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!taumet.Eng.Sun.COM!clamage
From: "bnr (n.) postmaster" <postmast@bnr.ca>
Newsgroups: comp.std.c++
Subject: [Q] Merging identical functions
Date: 29 Oct 1995 21:59:56 GMT
Organization: Bell-Northern Research Ltd.
Approved: clamage@eng.sun.com (comp.std.c++)
Message-ID: <470tgs$it6@engnews1.eng.sun.com>
NNTP-Posting-Host: taumet.eng.sun.com
Content-Type: text
X-Nntp-Posting-Host: bcarsd26.bnr.ca 
Content-Length: 602
X-Lines: 14
Originator: clamage@taumet.Eng.Sun.COM