Re: [Boost-bugs] [Boost C++ Libraries] #11324: has_nothrow_default_constructor incorrectly returns true

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11324: has_nothrow_default_constructor incorrectly returns true
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-05-20 18:09:00


#11324: has_nothrow_default_constructor incorrectly returns true
-------------------------------+-------------------------
  Reporter: anonymous | Owner: johnmaddock
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: type_traits
   Version: Boost 1.58.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+-------------------------
Changes (by johnmaddock):

 * cc: akrzemi1@… (added)

Comment:

 This is an issue in the compiler intrinsics
 __oracle_has_trivial_constructor and __oracle_has_nothrow_constructor both
 of which report true for class_without_default_ctor.

 There is a fix, but it requires adding a new trait
 is_default_constructible so this may not happen right away.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11324#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:18 UTC