Re: [Boost-bugs] [Boost C++ Libraries] #5483: value_init: Assignment to 'value_initialized', 'initialized' objects doesn't work automatically

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5483: value_init: Assignment to 'value_initialized', 'initialized' objects doesn't work automatically
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-04-16 03:44:22


#5483: value_init: Assignment to 'value_initialized', 'initialized' objects
doesn't work automatically
------------------------------------------------------+---------------------
  Reporter: Christian Masloch <cm@…> | Owner: no-maintainer
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: utility
   Version: Boost 1.46.1 | Severity: Problem
Resolution: | Keywords:
------------------------------------------------------+---------------------

Comment (by Christian Masloch <cm@…>):

 Oh! Adding a constructor from int (ie T) that is not declared 'explicit'
 resolves this without the additional assignment operator that I requested.
 But since that constructor (for 'initialized<T>') is declared as
 'explicit', the core issue is still to be solved here.

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