Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r61197 - trunk/libs/config/test
From: nielsdekker_at_[hidden]
Date: 2010-04-11 09:01:29


Author: niels_dekker
Date: 2010-04-11 09:01:28 EDT (Sun, 11 Apr 2010)
New Revision: 61197
URL: http://svn.boost.org/trac/boost/changeset/61197

Log:
Added more links to value-initialization bug reports: https://connect.microsoft.com/VisualStudio/feedback/details/100744 and http://qc.embarcadero.com/wc/qcmain.aspx?d=51854
Text files modified:
   trunk/libs/config/test/boost_no_com_value_init.ipp | 16 ++++++++++++----
   1 files changed, 12 insertions(+), 4 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-11 09:01:28 EDT (Sun, 11 Apr 2010)
@@ -72,6 +72,10 @@
     return arg.data == 0;
   }
 
+ // Equivalent to the struct TData from CodeGear bug report 51854
+ // "Value-initialization: POD struct should be zero-initialized",
+ // reported by me (Niels Dekker, LKEB) in 2007:
+ // http://qc.embarcadero.com/wc/qcmain.aspx?d=51854
   struct int_struct
   {
     int data;
@@ -120,7 +124,7 @@
 
 
   // Equivalent to the Stats class from GCC Bug 33916,
- // "Default constructor fails to initialize array members", reported by
+ // "Default constructor fails to initialize array members", reported in 2007 by
   // Michael Elizabeth Chastain: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33916
   class int_array_pair
   {
@@ -195,6 +199,10 @@
 
 
   // An aggregate struct of a non-POD class and an int.
+ // Similar to struct A from Microsoft Visual C++ bug report 100744,
+ // "Value-initialization in new-expression", reported in 2005 by
+ // Pavel Kuznetsov (MetaCommunications Engineering):
+ // https://connect.microsoft.com/VisualStudio/feedback/details/100744
   struct enum_holder_and_int
   {
     enum_holder e;
@@ -303,8 +311,8 @@
   // the C++ Standard ([dcl.init]).
   //
   // Note: its base class, int_struct, is there to try to reproduce GCC Bug 30111,
- // "Value-initialization of POD base class doesn't initialize members",
- // reported by Jonathan Wakely: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30111
+ // "Value-initialization of POD base class doesn't initialize members", reported
+ // by Jonathan Wakely in 2006: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30111
   class value_initializer: int_struct
   {
   private:
@@ -508,7 +516,7 @@
   };
 
   // Equivalent to the dirty_stack() function from GCC Bug 33916,
- // "Default constructor fails to initialize array members", reported by
+ // "Default constructor fails to initialize array members", reported in 2007 by
   // Michael Elizabeth Chastain: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33916
   void dirty_stack()
   {


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