Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r78653 - in trunk: boost libs/local_function/test status
From: lorcaminiti_at_[hidden]
Date: 2012-05-26 16:39:23


Author: lcaminiti
Date: 2012-05-26 16:39:22 EDT (Sat, 26 May 2012)
New Revision: 78653
URL: http://svn.boost.org/trac/boost/changeset/78653

Log:
Added identity_type.hpp to utility.hpp.
Added static to Addable data members because they are references.
Marked a couple of regression tests for release compilers.
Text files modified:
   trunk/boost/utility.hpp | 1 +
   trunk/libs/local_function/test/addable.hpp | 8 +++-----
   trunk/status/explicit-failures-markup.xml | 3 +++
   3 files changed, 7 insertions(+), 5 deletions(-)

Modified: trunk/boost/utility.hpp
==============================================================================
--- trunk/boost/utility.hpp (original)
+++ trunk/boost/utility.hpp 2012-05-26 16:39:22 EDT (Sat, 26 May 2012)
@@ -13,6 +13,7 @@
 #include <boost/utility/base_from_member.hpp>
 #include <boost/utility/binary.hpp>
 #include <boost/utility/enable_if.hpp>
+#include <boost/utility/identity_type.hpp>
 #include <boost/checked_delete.hpp>
 #include <boost/next_prior.hpp>
 #include <boost/noncopyable.hpp>

Modified: trunk/libs/local_function/test/addable.hpp
==============================================================================
--- trunk/libs/local_function/test/addable.hpp (original)
+++ trunk/libs/local_function/test/addable.hpp 2012-05-26 16:39:22 EDT (Sat, 26 May 2012)
@@ -17,11 +17,9 @@
     }
 
 private:
- T const& x;
- T const& y;
-
- void return_type(T const&) // Used to check addition returns type `T`.
- {} // Do nothing implementation (required for some linkers).
+ void return_type(T) {} // Implementation (required for some linkers).
+ static T const& x;
+ static T const& y;
 };
 
 #endif // #include guard

Modified: trunk/status/explicit-failures-markup.xml
==============================================================================
--- trunk/status/explicit-failures-markup.xml (original)
+++ trunk/status/explicit-failures-markup.xml 2012-05-26 16:39:22 EDT (Sat, 26 May 2012)
@@ -2507,6 +2507,7 @@
             <toolset name="clang-darwin-trunkLX"/>
             <toolset name="clang-darwin-trunkRX"/>
             <toolset name="darwin-4.4_0x"/>
+ <toolset name="gcc-4.4.3_0x"/>
             <toolset name="gcc-4.4.4_0x"/>
             <toolset name="gcc-4.5.3_0x"/>
             <toolset name="gcc-4.6.2_0x"/>
@@ -5081,6 +5082,8 @@
             <toolset name="gcc-4.2.4"/>
             <toolset name="gcc-4.3.4"/>
             <toolset name="gcc-4.3.4_0x"/>
+ <toolset name="gcc-4.4.3"/>
+ <toolset name="gcc-4.4.3_0x"/>
             <toolset name="gcc-4.4.4"/>
             <toolset name="gcc-4.4.4_0x"/>
             <toolset name="gcc-4.5.3"/>


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