|
Boost-Commit : |
From: nielsdekker_at_[hidden]
Date: 2008-05-23 12:46:43
Author: niels_dekker
Date: 2008-05-23 12:46:43 EDT (Fri, 23 May 2008)
New Revision: 45685
URL: http://svn.boost.org/trac/boost/changeset/45685
Log:
Changed boost::initialized_value from a class to an instance, to make its use more convenient, as discussed with Fernando.
Text files modified:
trunk/boost/utility/value_init.hpp | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
Modified: trunk/boost/utility/value_init.hpp
==============================================================================
--- trunk/boost/utility/value_init.hpp (original)
+++ trunk/boost/utility/value_init.hpp 2008-05-23 12:46:43 EDT (Fri, 23 May 2008)
@@ -5,7 +5,8 @@
// http://www.boost.org/LICENSE_1_0.txt)
//
// 21 Ago 2002 (Created) Fernando Cacciola
-// 18 Feb 2008 (Worked around compiler bugs, added initialized_value) Fernando Cacciola, Niels Dekker
+// 24 Dec 2007 (Refactored and worked around various compiler bugs) Fernando Cacciola, Niels Dekker
+// 23 May 2008 (Fixed operator= const issue, added initialized_value) Niels Dekker, Fernando Cacciola
//
#ifndef BOOST_UTILITY_VALUE_INIT_21AGO2002_HPP
#define BOOST_UTILITY_VALUE_INIT_21AGO2002_HPP
@@ -110,7 +111,7 @@
}
-class initialized_value
+class initialized_value_t
{
public :
@@ -120,6 +121,8 @@
}
};
+initialized_value_t const initialized_value = {} ;
+
} // namespace boost
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk