Re: [Boost-bugs] [Boost C++ Libraries] #3472: Setting value_initialized<T> to a value when T is a top-level const

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3472: Setting value_initialized<T> to a value when T is a top-level const
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-03-31 14:37:13


#3472: Setting value_initialized<T> to a value when T is a top-level const
------------------------------------------------+---------------------------
 Reporter: Edward Diener <eld@…> | Owner: fcacciola
     Type: Feature Requests | Status: new
Milestone: Boost 1.41.0 | Component: utility
  Version: Boost 1.40.0 | Severity: Problem
 Keywords: value_initialized const |
------------------------------------------------+---------------------------

Comment(by niels_dekker):

 Jeffrey Hellrung suggested defining a new template class that offers both
 value-initialization and direct-initialization: ''Re:
 [boost][utility/value_init] boost::value_initialized<T> direct-
 initialized?'', http://lists.boost.org/Archives/boost/2010/03/164331.php
 The new template class could simply be named ''boost::initialized<T>''.
 value_initialized<T> could then be implemented in terms of initialized<T>.

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