Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12604: neither scoped_array nor checked_delete do check for nullptr
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-11-11 13:17:15
#12604: neither scoped_array nor checked_delete do check for nullptr
-------------------------------+-----------------------
Reporter: steinbac@⦠| Owner: pdimov
Type: Bugs | Status: new
Milestone: To Be Determined | Component: smart_ptr
Version: Boost 1.62.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+-----------------------
Comment (by pdimov):
`nullptr` is a valid argument for `delete`. There's no need to check.
I tried your example with the current `develop` branch of Boost, it may be
fixed. I'll try with 1.62.0.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12604#comment:3> 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:20 UTC