Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4637: An extra scoped_array(n) constructor, please!
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-11-03 12:19:59
#4637: An extra scoped_array(n) constructor, please!
-------------------------------+--------------------------------------------
Reporter: niels_dekker | Owner: pdimov
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: smart_ptr
Version: Boost 1.44.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+--------------------------------------------
Comment (by olafvdspek@â¦):
Hoi Niels,
You used "new T[]()" instead of "new T[]". Do you require the former or
would the latter be fine for you?
Not everyone needs the elements to be initialized. Initializing them after
construction is possible, uninitializing them isn't.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4637#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:07 UTC