Re: [Boost-bugs] [Boost C++ Libraries] #10540: missing std::nullptr_t support in boost/type_traits/is_pointer.hpp

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10540: missing std::nullptr_t support in boost/type_traits/is_pointer.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-09-25 16:06:11


#10540: missing std::nullptr_t support in boost/type_traits/is_pointer.hpp
--------------------------------------------+---------------------------
  Reporter: Stephan Bergmann <sbergman@…> | Owner: nesotto
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: ptr_container
   Version: Boost 1.56.0 | Severity: Problem
Resolution: | Keywords:
--------------------------------------------+---------------------------
Changes (by johnmaddock):

 * owner: johnmaddock => nesotto
 * component: type_traits => ptr_container

Comment:

 That's not the right fix - std::nullptr_t ''is not a pointer type'' - it's
 a type that's convertible to a pointer which is a whole other ball game.

 I believe the correct fix is for ptr_container to provide an explicit
 overload for std::nullptr_t for methods like insert. Reassigning in case
 someone wants to apply a fix there.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10540#comment:1>
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:17 UTC