Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r79530 - in branches/release: boost/random libs/random/test
From: marshall_at_[hidden]
Date: 2012-07-15 10:34:36


Author: marshall
Date: 2012-07-15 10:34:35 EDT (Sun, 15 Jul 2012)
New Revision: 79530
URL: http://svn.boost.org/trac/boost/changeset/79530

Log:
Merge macro changes for Boost.Random; no functionality change
Properties modified:
   branches/release/boost/random/discrete_distribution.hpp (contents, props changed)
   branches/release/boost/random/piecewise_constant_distribution.hpp (contents, props changed)
   branches/release/boost/random/piecewise_linear_distribution.hpp (contents, props changed)
   branches/release/boost/random/seed_seq.hpp (contents, props changed)
   branches/release/libs/random/test/test_discrete_distribution.cpp (contents, props changed)
   branches/release/libs/random/test/test_piecewise_constant_distribution.cpp (contents, props changed)
   branches/release/libs/random/test/test_piecewise_linear_distribution.cpp (contents, props changed)
   branches/release/libs/random/test/test_seed_seq.cpp (contents, props changed)
Text files modified:
   branches/release/boost/random/discrete_distribution.hpp | 6 +++---
   branches/release/boost/random/piecewise_constant_distribution.hpp | 6 +++---
   branches/release/boost/random/piecewise_linear_distribution.hpp | 6 +++---
   branches/release/boost/random/seed_seq.hpp | 4 ++--
   branches/release/libs/random/test/test_discrete_distribution.cpp | 4 ++--
   branches/release/libs/random/test/test_piecewise_constant_distribution.cpp | 4 ++--
   branches/release/libs/random/test/test_piecewise_linear_distribution.cpp | 4 ++--
   branches/release/libs/random/test/test_seed_seq.cpp | 2 +-
   8 files changed, 18 insertions(+), 18 deletions(-)

Modified: branches/release/boost/random/discrete_distribution.hpp
==============================================================================
--- branches/release/boost/random/discrete_distribution.hpp (original)
+++ branches/release/boost/random/discrete_distribution.hpp 2012-07-15 10:34:35 EDT (Sun, 15 Jul 2012)
@@ -25,7 +25,7 @@
 #include <boost/random/detail/operators.hpp>
 #include <boost/random/detail/vector_io.hpp>
 
-#ifndef BOOST_NO_0X_HDR_INITIALIZER_LIST
+#ifndef BOOST_NO_CXX11_HDR_INITIALIZER_LIST
 #include <initializer_list>
 #endif
 
@@ -69,7 +69,7 @@
         {
             normalize();
         }
-#ifndef BOOST_NO_0X_HDR_INITIALIZER_LIST
+#ifndef BOOST_NO_CXX11_HDR_INITIALIZER_LIST
         /**
          * If wl.size() == 0, equivalent to the default constructor.
          * Otherwise, the values of the @c initializer_list represent
@@ -190,7 +190,7 @@
     {
         init(first, last);
     }
-#ifndef BOOST_NO_0X_HDR_INITIALIZER_LIST
+#ifndef BOOST_NO_CXX11_HDR_INITIALIZER_LIST
     /**
      * Constructs a @c discrete_distribution from a @c std::initializer_list.
      * If the @c initializer_list is empty, equivalent to the default

Modified: branches/release/boost/random/piecewise_constant_distribution.hpp
==============================================================================
--- branches/release/boost/random/piecewise_constant_distribution.hpp (original)
+++ branches/release/boost/random/piecewise_constant_distribution.hpp 2012-07-15 10:34:35 EDT (Sun, 15 Jul 2012)
@@ -22,7 +22,7 @@
 #include <boost/random/detail/operators.hpp>
 #include <boost/random/detail/vector_io.hpp>
 
-#ifndef BOOST_NO_0X_HDR_INITIALIZER_LIST
+#ifndef BOOST_NO_CXX11_HDR_INITIALIZER_LIST
 #include <initializer_list>
 #endif
 
@@ -84,7 +84,7 @@
                 }
             }
         }
-#ifndef BOOST_NO_0X_HDR_INITIALIZER_LIST
+#ifndef BOOST_NO_CXX11_HDR_INITIALIZER_LIST
         /**
          * Constructs a @c param_type object from an
          * initializer_list containing the interval boundaries
@@ -271,7 +271,7 @@
             _bins.param(bins_param);
         }
     }
-#ifndef BOOST_NO_0X_HDR_INITIALIZER_LIST
+#ifndef BOOST_NO_CXX11_HDR_INITIALIZER_LIST
     /**
      * Constructs a piecewise_constant_distribution from an
      * initializer_list containing the interval boundaries

Modified: branches/release/boost/random/piecewise_linear_distribution.hpp
==============================================================================
--- branches/release/boost/random/piecewise_linear_distribution.hpp (original)
+++ branches/release/boost/random/piecewise_linear_distribution.hpp 2012-07-15 10:34:35 EDT (Sun, 15 Jul 2012)
@@ -24,7 +24,7 @@
 #include <boost/random/detail/operators.hpp>
 #include <boost/random/detail/vector_io.hpp>
 
-#ifndef BOOST_NO_0X_HDR_INITIALIZER_LIST
+#ifndef BOOST_NO_CXX11_HDR_INITIALIZER_LIST
 #include <initializer_list>
 #endif
 
@@ -89,7 +89,7 @@
                 }
             }
         }
-#ifndef BOOST_NO_0X_HDR_INITIALIZER_LIST
+#ifndef BOOST_NO_CXX11_HDR_INITIALIZER_LIST
         /**
          * Constructs a @c param_type object from an initializer_list
          * containing the interval boundaries and a unary function
@@ -278,7 +278,7 @@
             init();
         }
     }
-#ifndef BOOST_NO_0X_HDR_INITIALIZER_LIST
+#ifndef BOOST_NO_CXX11_HDR_INITIALIZER_LIST
     /**
      * Constructs a piecewise_linear_distribution from an
      * initializer_list containing the interval boundaries

Modified: branches/release/boost/random/seed_seq.hpp
==============================================================================
--- branches/release/boost/random/seed_seq.hpp (original)
+++ branches/release/boost/random/seed_seq.hpp 2012-07-15 10:34:35 EDT (Sun, 15 Jul 2012)
@@ -23,7 +23,7 @@
 #include <algorithm>
 #include <iterator>
 
-#ifndef BOOST_NO_0X_HDR_INITIALIZER_LIST
+#ifndef BOOST_NO_CXX11_HDR_INITIALIZER_LIST
 #include <initializer_list>
 #endif
 
@@ -42,7 +42,7 @@
 
     /** Initializes a seed_seq to hold an empty sequence. */
     seed_seq() {}
-#ifndef BOOST_NO_0X_HDR_INITIALIZER_LIST
+#ifndef BOOST_NO_CXX11_HDR_INITIALIZER_LIST
     /** Initializes the sequence from an initializer_list. */
     template<class T>
     seed_seq(const std::initializer_list<T>& il) : v(il.begin(), il.end()) {}

Modified: branches/release/libs/random/test/test_discrete_distribution.cpp
==============================================================================
--- branches/release/libs/random/test/test_discrete_distribution.cpp (original)
+++ branches/release/libs/random/test/test_discrete_distribution.cpp 2012-07-15 10:34:35 EDT (Sun, 15 Jul 2012)
@@ -49,7 +49,7 @@
     boost::random::discrete_distribution<> dist;
     CHECK_PROBABILITIES(dist.probabilities(), list_of(1.0));
 
-#ifndef BOOST_NO_0X_HDR_INITIALIZER_LIST
+#ifndef BOOST_NO_CXX11_HDR_INITIALIZER_LIST
     boost::random::discrete_distribution<> dist_il = { 1, 2, 1, 4 };
     CHECK_PROBABILITIES(dist_il.probabilities(), list_of(.125)(.25)(.125)(.5));
 #endif
@@ -98,7 +98,7 @@
     BOOST_CHECK(param != param_default);
     BOOST_CHECK(!(param == param_default));
     
-#ifndef BOOST_NO_0X_HDR_INITIALIZER_LIST
+#ifndef BOOST_NO_CXX11_HDR_INITIALIZER_LIST
     boost::random::discrete_distribution<>::param_type
         parm_il = { 1, 2, 1, 4 };
     CHECK_PROBABILITIES(parm_il.probabilities(), list_of(.125)(.25)(.125)(.5));

Modified: branches/release/libs/random/test/test_piecewise_constant_distribution.cpp
==============================================================================
--- branches/release/libs/random/test/test_piecewise_constant_distribution.cpp (original)
+++ branches/release/libs/random/test/test_piecewise_constant_distribution.cpp 2012-07-15 10:34:35 EDT (Sun, 15 Jul 2012)
@@ -50,7 +50,7 @@
     CHECK_SEQUENCE(dist.densities(), list_of(1.0));
     CHECK_SEQUENCE(dist.intervals(), list_of(0.0)(1.0));
 
-#ifndef BOOST_NO_0X_HDR_INITIALIZER_LIST
+#ifndef BOOST_NO_CXX11_HDR_INITIALIZER_LIST
     boost::random::piecewise_constant_distribution<> dist_il = {
         { 99, 103, 107, 111, 115 },
         gen()
@@ -139,7 +139,7 @@
     BOOST_CHECK(param != param_default);
     BOOST_CHECK(!(param == param_default));
     
-#ifndef BOOST_NO_0X_HDR_INITIALIZER_LIST
+#ifndef BOOST_NO_CXX11_HDR_INITIALIZER_LIST
     boost::random::piecewise_constant_distribution<>::param_type parm_il = {
         { 99, 103, 107, 111, 115 },
         gen()

Modified: branches/release/libs/random/test/test_piecewise_linear_distribution.cpp
==============================================================================
--- branches/release/libs/random/test/test_piecewise_linear_distribution.cpp (original)
+++ branches/release/libs/random/test/test_piecewise_linear_distribution.cpp 2012-07-15 10:34:35 EDT (Sun, 15 Jul 2012)
@@ -51,7 +51,7 @@
     CHECK_SEQUENCE(dist.intervals(), list_of(0.0)(1.0));
     CHECK_SEQUENCE(dist.densities(), list_of(1.0)(1.0));
 
-#ifndef BOOST_NO_0X_HDR_INITIALIZER_LIST
+#ifndef BOOST_NO_CXX11_HDR_INITIALIZER_LIST
     boost::random::piecewise_linear_distribution<> dist_il = {
         { 99, 103, 107, 111, 115 },
         gen()
@@ -143,7 +143,7 @@
     BOOST_CHECK(param != param_default);
     BOOST_CHECK(!(param == param_default));
     
-#ifndef BOOST_NO_0X_HDR_INITIALIZER_LIST
+#ifndef BOOST_NO_CXX11_HDR_INITIALIZER_LIST
     boost::random::piecewise_linear_distribution<>::param_type parm_il = {
         { 99, 103, 107, 111, 115 },
         gen()

Modified: branches/release/libs/random/test/test_seed_seq.cpp
==============================================================================
--- branches/release/libs/random/test/test_seed_seq.cpp (original)
+++ branches/release/libs/random/test/test_seed_seq.cpp 2012-07-15 10:34:35 EDT (Sun, 15 Jul 2012)
@@ -94,7 +94,7 @@
     BOOST_CHECK_EQUAL_COLLECTIONS(
         &param[0], &param[0] + 4, &expected_param[0], &expected_param[0] + 4);
     
-#ifndef BOOST_NO_0X_HDR_INITIALIZER_LIST
+#ifndef BOOST_NO_CXX11_HDR_INITIALIZER_LIST
     std::fill_n(&store32[0], 10, 0);
     std::fill_n(&store64[0], 10, 0);
     std::fill_n(&param[0], 3, 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