$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r56543 - branches/release/libs/utility
From: nielsdekker_at_[hidden]
Date: 2009-10-03 05:08:11
Author: niels_dekker
Date: 2009-10-03 05:08:10 EDT (Sat, 03 Oct 2009)
New Revision: 56543
URL: http://svn.boost.org/trac/boost/changeset/56543
Log:
Merged value_init_test from trunk, inc. [51356], anticipating the fix of ticket #2548, which will remove implicit conversion from const value_initialized<T> to non-const T&. 
Properties modified: 
   branches/release/libs/utility/value_init_test.cpp   (contents, props changed)
Text files modified: 
   branches/release/libs/utility/value_init_test.cpp |     2 +-                                      
   1 files changed, 1 insertions(+), 1 deletions(-)
Modified: branches/release/libs/utility/value_init_test.cpp
==============================================================================
--- branches/release/libs/utility/value_init_test.cpp	(original)
+++ branches/release/libs/utility/value_init_test.cpp	2009-10-03 05:08:10 EDT (Sat, 03 Oct 2009)
@@ -260,7 +260,7 @@
   boost::value_initialized<T> const x_c ;
   BOOST_CHECK ( y == x_c ) ;
   BOOST_CHECK ( y == boost::get(x_c) ) ;
-  T& x_c_ref = x_c ;
+  T& x_c_ref = const_cast<T&>( boost::get(x_c) ) ;
   x_c_ref = z ;
   BOOST_CHECK ( x_c == z ) ;