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-22 07:35:30


#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:
-------------------------------+-------------------------

Comment (by akrzemi1):

 One note. the ideal implementation would correctly detect when a type T
 has a default noexcept constructor or not. The minimum correct
 implementation can just always return false. Currently, there are
 situations where it returns true for types without default constructor.
 Only implementing the minimum would be an improvement.

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