Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r78659 - in branches/release: . boost boost/local_function boost/local_function/aux_ libs libs/local_function libs/local_function/test status
From: lorcaminiti_at_[hidden]
Date: 2012-05-26 17:17:04


Author: lcaminiti
Date: 2012-05-26 17:17:03 EDT (Sat, 26 May 2012)
New Revision: 78659
URL: http://svn.boost.org/trac/boost/changeset/78659

Log:
Marked some expected failures for release regression test compilers. Renamed a local function internal template parameter from Bn to Bindn (because B0 is defined as a macro from a Linux header to represent a baudrate). Added itdentity_type.hpp to utility.hpp. Made reference data members of LocalFunction Addable static (because they are not set in the constructor).
Properties modified:
   branches/release/ (props changed)
   branches/release/boost/ (props changed)
   branches/release/boost/local_function/ (props changed)
   branches/release/libs/ (props changed)
   branches/release/libs/local_function/ (props changed)
   branches/release/status/ (props changed)
   branches/release/status/explicit-failures-markup.xml (contents, props changed)
Text files modified:
   branches/release/boost/local_function/aux_/function.hpp | 8 ++++----
   branches/release/boost/utility.hpp | 1 +
   branches/release/libs/local_function/test/addable.hpp | 8 +++-----
   branches/release/status/explicit-failures-markup.xml | 3 +++
   4 files changed, 11 insertions(+), 9 deletions(-)

Modified: branches/release/boost/local_function/aux_/function.hpp
==============================================================================
--- branches/release/boost/local_function/aux_/function.hpp (original)
+++ branches/release/boost/local_function/aux_/function.hpp 2012-05-26 17:17:03 EDT (Sat, 26 May 2012)
@@ -38,7 +38,7 @@
     (typename)
 
 #define BOOST_LOCAL_FUNCTION_AUX_arg_type(z, arg_n, unused) \
- BOOST_PP_CAT(A, arg_n)
+ BOOST_PP_CAT(Arg, arg_n)
 
 #define BOOST_LOCAL_FUNCTION_AUX_arg_typedef(z, arg_n, unused) \
     typedef \
@@ -58,14 +58,14 @@
 
 #define BOOST_LOCAL_FUNCTION_AUX_arg_name(z, arg_n, comma01) \
     BOOST_PP_COMMA_IF(comma01) \
- BOOST_PP_CAT(a, arg_n)
+ BOOST_PP_CAT(arg, arg_n)
 
 #define BOOST_LOCAL_FUNCTION_AUX_arg_param_decl(z, arg_n, unused) \
     BOOST_LOCAL_FUNCTION_AUX_arg_param_type(z, arg_n, 0 /* no leading comma */)\
     BOOST_LOCAL_FUNCTION_AUX_arg_name(z, arg_n, 0 /* no leading comma */)
 
 #define BOOST_LOCAL_FUNCTION_AUX_bind_type(z, bind_n, unused) \
- BOOST_PP_CAT(B, bind_n)
+ BOOST_PP_CAT(Bind, bind_n)
 
 #define BOOST_LOCAL_FUNCTION_AUX_comma_bind_type(z, bind_n, unused) \
     , BOOST_LOCAL_FUNCTION_AUX_bind_type(z, bind_n, ~)
@@ -77,7 +77,7 @@
     , typename BOOST_LOCAL_FUNCTION_AUX_bind_type(z, bind_n, ~)
 
 #define BOOST_LOCAL_FUNCTION_AUX_bind_name(z, bind_n, unused) \
- BOOST_PP_CAT(b, bind_n)
+ BOOST_PP_CAT(bing, bind_n)
 
 #define BOOST_LOCAL_FUNCTION_AUX_comma_bind_param_decl(z, bind_n, unused) \
     , \

Modified: branches/release/boost/utility.hpp
==============================================================================
--- branches/release/boost/utility.hpp (original)
+++ branches/release/boost/utility.hpp 2012-05-26 17:17:03 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: branches/release/libs/local_function/test/addable.hpp
==============================================================================
--- branches/release/libs/local_function/test/addable.hpp (original)
+++ branches/release/libs/local_function/test/addable.hpp 2012-05-26 17:17:03 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: branches/release/status/explicit-failures-markup.xml
==============================================================================
--- branches/release/status/explicit-failures-markup.xml (original)
+++ branches/release/status/explicit-failures-markup.xml 2012-05-26 17:17:03 EDT (Sat, 26 May 2012)
@@ -2490,6 +2490,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"/>
@@ -5064,6 +5065,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