|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r61572 - trunk/libs/config/test
From: nielsdekker_at_[hidden]
Date: 2010-04-26 06:24:29
Author: niels_dekker
Date: 2010-04-26 06:24:28 EDT (Mon, 26 Apr 2010)
New Revision: 61572
URL: http://svn.boost.org/trac/boost/changeset/61572
Log:
Hopefully fixed config_test/darwin-4.0.1 error, "heap_object_wrapper(const &) is private". Added bool to pod_struct.
Text files modified:
trunk/libs/config/test/boost_no_com_value_init.ipp | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
Modified: trunk/libs/config/test/boost_no_com_value_init.ipp
==============================================================================
--- trunk/libs/config/test/boost_no_com_value_init.ipp (original)
+++ trunk/libs/config/test/boost_no_com_value_init.ipp 2010-04-26 06:24:28 EDT (Mon, 26 Apr 2010)
@@ -24,6 +24,7 @@
// A POD struct.
struct pod_struct
{
+ bool b;
enum_type e;
char c;
unsigned char uc;
@@ -40,6 +41,7 @@
bool is_value_initialized(const pod_struct& arg)
{
return
+ arg.b == 0 &&
arg.e == 0 &&
arg.c == 0 &&
arg.uc == 0 &&
@@ -393,7 +395,7 @@
// The following functions are intentionally left unimplemented
// (as if deleted, "= delete", in C++0x):
heap_object_wrapper(const heap_object_wrapper&);
- void operator=(heap_object_wrapper);
+ void operator=(const heap_object_wrapper&);
public:
heap_object_wrapper()
@@ -890,7 +892,7 @@
<< num_failures_of_temporaries << '+'
<< num_failures_of_heap_objects << "): "
<< total_num_failures
- << "\nDetected by boost_no_complete_value_initialization::test() revision 19."
+ << "\nDetected by boost_no_complete_value_initialization::test() revision 20."
<< std::endl;
}
return static_cast<int>(total_num_failures);
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