|
Boost-Commit : |
From: NielsDekker_at_[hidden]
Date: 2007-09-16 05:48:28
Author: niels_dekker
Date: 2007-09-16 05:48:28 EDT (Sun, 16 Sep 2007)
New Revision: 39309
URL: http://svn.boost.org/trac/boost/changeset/39309
Log:
Added unit test to make sure that Visual C++ 7.1 ICE reported by Ralf W. Grosse-Kunstleve (Boost Developers mailing list, subject "utility/value_init.hpp: VC 7.1 ICE & workaround") will not occur anymore.
Text files modified:
trunk/libs/utility/value_init_test.cpp | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
Modified: trunk/libs/utility/value_init_test.cpp
==============================================================================
--- trunk/libs/utility/value_init_test.cpp (original)
+++ trunk/libs/utility/value_init_test.cpp 2007-09-16 05:48:28 EDT (Sun, 16 Sep 2007)
@@ -95,6 +95,9 @@
test( POD(0,0,0.0), POD('a',1234,56.78) ) ;
test( NonPOD( std::string() ), NonPOD( std::string("something") ) ) ;
+ NonPOD NonPOD_object( std::string("NonPOD_object") );
+ test<NonPOD *>( 0, &NonPOD_object ) ;
+
return 0;
}
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