Re: [Boost-bugs] [Boost C++ Libraries] #3401: has_new_operator fail if several new operators is overrided

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3401: has_new_operator fail if several new operators is overrided
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-10-12 10:42:29


#3401: has_new_operator fail if several new operators is overrided
-------------------------------------------------+--------------------------
 Reporter: Runar Undheim <r.undheim@…> | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: Boost 1.41.0 | Component: type_traits
  Version: Boost 1.40.0 | Severity: Problem
 Keywords: |
-------------------------------------------------+--------------------------

Comment(by anonymous):

 I've been meaning to look at this as well, but haven't had the time yet
 :-(

 Before we get too carried away with any changes:

 * I'd prefer it if has_new_operator retained the existing semantics -
 which is to say returns true if the class has ''any'' of the new operator
 signatures overloaded.
 * With regard to splitting in 3: just remember that there are actually 6
 (I think!) variations if we include the nothrow versions as well. Wait,
 make that 8 if we include the 2 placement versions! Not sure whether
 has_operator_new should return true for placement operator overload
 though?

 Just thinking out loud yours, John.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3401#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:01 UTC