Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r81560 - in trunk/libs/chrono: example test test/clock test/duration test/stopwatch test/time_point test/traits
From: marshall_at_[hidden]
Date: 2012-11-26 12:30:46


Author: marshall
Date: 2012-11-26 12:30:42 EST (Mon, 26 Nov 2012)
New Revision: 81560
URL: http://svn.boost.org/trac/boost/changeset/81560

Log:
Removed usage of deprecated macros
Text files modified:
   trunk/libs/chrono/example/test_clock.cpp | 2 +-
   trunk/libs/chrono/test/clock/clock_pass.cpp | 2 +-
   trunk/libs/chrono/test/duration/arithmetic_pass.cpp | 2 +-
   trunk/libs/chrono/test/duration/comparisons_pass.cpp | 2 +-
   trunk/libs/chrono/test/duration/constructor_pass.cpp | 2 +-
   trunk/libs/chrono/test/duration/default_ratio_pass.cpp | 2 +-
   trunk/libs/chrono/test/duration/duration_cast_pass.cpp | 6 +++---
   trunk/libs/chrono/test/duration/typedefs_pass.cpp | 2 +-
   trunk/libs/chrono/test/duration/types_pass.cpp | 2 +-
   trunk/libs/chrono/test/stopwatch/basic_stopwatch_laps_accumulator_set_pass.cpp | 2 +-
   trunk/libs/chrono/test/stopwatch/basic_stopwatch_laps_container_pass.cpp | 2 +-
   trunk/libs/chrono/test/stopwatch/basic_stopwatch_last_lap_pass.cpp | 2 +-
   trunk/libs/chrono/test/stopwatch/basic_stopwatch_pass.cpp | 2 +-
   trunk/libs/chrono/test/stopwatch/basic_stopwatch_reporter_laps_accumulator_set_pass.cpp | 2 +-
   trunk/libs/chrono/test/stopwatch/basic_stopwatch_reporter_pass.cpp | 2 +-
   trunk/libs/chrono/test/stopwatch/laps_stopclock_laps_accumulator_set_pass.cpp | 2 +-
   trunk/libs/chrono/test/stopwatch/laps_stopclock_pass.cpp | 2 +-
   trunk/libs/chrono/test/stopwatch/simple_stopclock_pass.cpp | 2 +-
   trunk/libs/chrono/test/stopwatch/simple_stopwatch_pass.cpp | 2 +-
   trunk/libs/chrono/test/stopwatch/simple_stopwatch_reporter_pass.cpp | 2 +-
   trunk/libs/chrono/test/stopwatch/suspendable_stopwatch_pass.cpp | 2 +-
   trunk/libs/chrono/test/time_point/arithmetic_ext_pass.cpp | 2 +-
   trunk/libs/chrono/test/time_point/arithmetic_pass.cpp | 2 +-
   trunk/libs/chrono/test/time_point/comparisons_pass.cpp | 2 +-
   trunk/libs/chrono/test/time_point/constructor_pass.cpp | 2 +-
   trunk/libs/chrono/test/time_point/default_duration.pass.cpp | 2 +-
   trunk/libs/chrono/test/time_point/default_duration_pass.cpp | 2 +-
   trunk/libs/chrono/test/time_point/time_point_cast_pass.cpp | 6 +++---
   trunk/libs/chrono/test/traits/common_type_duration_pass.cpp | 2 +-
   trunk/libs/chrono/test/traits/common_type_time_point_pass.cpp | 2 +-
   trunk/libs/chrono/test/traits/treat_as_floating_point_pass.cpp | 2 +-
   trunk/libs/chrono/test/win32_test.cpp | 2 +-
   32 files changed, 36 insertions(+), 36 deletions(-)

Modified: trunk/libs/chrono/example/test_clock.cpp
==============================================================================
--- trunk/libs/chrono/example/test_clock.cpp (original)
+++ trunk/libs/chrono/example/test_clock.cpp 2012-11-26 12:30:42 EST (Mon, 26 Nov 2012)
@@ -33,7 +33,7 @@
 
 #include "clock_name.hpp"
 
-#if defined(BOOST_NO_CONSTEXPR)
+#if defined(BOOST_NO_CXX11_CONSTEXPR)
 
 using namespace boost::chrono;
 

Modified: trunk/libs/chrono/test/clock/clock_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/clock/clock_pass.cpp (original)
+++ trunk/libs/chrono/test/clock/clock_pass.cpp 2012-11-26 12:30:42 EST (Mon, 26 Nov 2012)
@@ -18,7 +18,7 @@
 #include <boost/system/system_error.hpp>
 #include <boost/detail/lightweight_test.hpp>
 
-#if !defined(BOOST_NO_STATIC_ASSERT)
+#if !defined(BOOST_NO_CXX11_STATIC_ASSERT)
 #define NOTHING ""
 #endif
 

Modified: trunk/libs/chrono/test/duration/arithmetic_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/duration/arithmetic_pass.cpp (original)
+++ trunk/libs/chrono/test/duration/arithmetic_pass.cpp 2012-11-26 12:30:42 EST (Mon, 26 Nov 2012)
@@ -14,7 +14,7 @@
 #include <boost/chrono/duration.hpp>
 
 #include <boost/detail/lightweight_test.hpp>
-#ifdef BOOST_NO_CONSTEXPR
+#ifdef BOOST_NO_CXX11_CONSTEXPR
 #define BOOST_CONSTEXPR_ASSERT(C) BOOST_TEST(C)
 #else
 #include <boost/static_assert.hpp>

Modified: trunk/libs/chrono/test/duration/comparisons_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/duration/comparisons_pass.cpp (original)
+++ trunk/libs/chrono/test/duration/comparisons_pass.cpp 2012-11-26 12:30:42 EST (Mon, 26 Nov 2012)
@@ -13,7 +13,7 @@
 
 #include <boost/chrono/duration.hpp>
 #include <boost/detail/lightweight_test.hpp>
-#ifdef BOOST_NO_CONSTEXPR
+#ifdef BOOST_NO_CXX11_CONSTEXPR
 #define BOOST_CONSTEXPR_ASSERT(C) BOOST_TEST(C)
 #else
 #include <boost/static_assert.hpp>

Modified: trunk/libs/chrono/test/duration/constructor_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/duration/constructor_pass.cpp (original)
+++ trunk/libs/chrono/test/duration/constructor_pass.cpp 2012-11-26 12:30:42 EST (Mon, 26 Nov 2012)
@@ -19,7 +19,7 @@
 #include "../rep.h"
 #include <iostream>
 
-#ifdef BOOST_NO_CONSTEXPR
+#ifdef BOOST_NO_CXX11_CONSTEXPR
 #define BOOST_CONSTEXPR_ASSERT(C) BOOST_TEST(C)
 #else
 #include <boost/static_assert.hpp>

Modified: trunk/libs/chrono/test/duration/default_ratio_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/duration/default_ratio_pass.cpp (original)
+++ trunk/libs/chrono/test/duration/default_ratio_pass.cpp 2012-11-26 12:30:42 EST (Mon, 26 Nov 2012)
@@ -19,7 +19,7 @@
 
 #include <boost/chrono/duration.hpp>
 #include <boost/type_traits.hpp>
-#if !defined(BOOST_NO_STATIC_ASSERT)
+#if !defined(BOOST_NO_CXX11_STATIC_ASSERT)
 #define NOTHING ""
 #endif
 

Modified: trunk/libs/chrono/test/duration/duration_cast_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/duration/duration_cast_pass.cpp (original)
+++ trunk/libs/chrono/test/duration/duration_cast_pass.cpp 2012-11-26 12:30:42 EST (Mon, 26 Nov 2012)
@@ -14,11 +14,11 @@
 #include <boost/chrono/duration.hpp>
 #include <boost/type_traits.hpp>
 #include <boost/detail/lightweight_test.hpp>
-#if !defined(BOOST_NO_STATIC_ASSERT)
+#if !defined(BOOST_NO_CXX11_STATIC_ASSERT)
 #define NOTHING ""
 #endif
 
-#ifdef BOOST_NO_CONSTEXPR
+#ifdef BOOST_NO_CXX11_CONSTEXPR
 #define BOOST_CONSTEXPR_ASSERT(C) BOOST_TEST(C)
 #else
 #include <boost/static_assert.hpp>
@@ -30,7 +30,7 @@
 void
 test(const FromDuration& f, const ToDuration& d)
 {
-//~ #if defined(BOOST_NO_DECLTYPE)
+//~ #if defined(BOOST_NO_CXX11_DECLTYPE)
     //~ typedef BOOST_TYPEOF_TPL(boost::chrono::duration_cast<ToDuration>(f)) R;
 //~ #else
     //~ typedef decltype(boost::chrono::duration_cast<ToDuration>(f)) R;

Modified: trunk/libs/chrono/test/duration/typedefs_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/duration/typedefs_pass.cpp (original)
+++ trunk/libs/chrono/test/duration/typedefs_pass.cpp 2012-11-26 12:30:42 EST (Mon, 26 Nov 2012)
@@ -16,7 +16,7 @@
 #include <boost/type_traits.hpp>
 #include <limits>
 
-#if !defined(BOOST_NO_STATIC_ASSERT)
+#if !defined(BOOST_NO_CXX11_STATIC_ASSERT)
 #define NOTHING ""
 #endif
 

Modified: trunk/libs/chrono/test/duration/types_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/duration/types_pass.cpp (original)
+++ trunk/libs/chrono/test/duration/types_pass.cpp 2012-11-26 12:30:42 EST (Mon, 26 Nov 2012)
@@ -19,7 +19,7 @@
 
 #include <boost/chrono/duration.hpp>
 #include <boost/type_traits.hpp>
-#if !defined(BOOST_NO_STATIC_ASSERT)
+#if !defined(BOOST_NO_CXX11_STATIC_ASSERT)
 #define NOTHING ""
 #endif
 

Modified: trunk/libs/chrono/test/stopwatch/basic_stopwatch_laps_accumulator_set_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/stopwatch/basic_stopwatch_laps_accumulator_set_pass.cpp (original)
+++ trunk/libs/chrono/test/stopwatch/basic_stopwatch_laps_accumulator_set_pass.cpp 2012-11-26 12:30:42 EST (Mon, 26 Nov 2012)
@@ -11,7 +11,7 @@
 #include "../cycle_count.hpp"
 #include <boost/detail/lightweight_test.hpp>
 
-#if !defined(BOOST_NO_STATIC_ASSERT)
+#if !defined(BOOST_NO_CXX11_STATIC_ASSERT)
 #define NOTHING ""
 #endif
 

Modified: trunk/libs/chrono/test/stopwatch/basic_stopwatch_laps_container_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/stopwatch/basic_stopwatch_laps_container_pass.cpp (original)
+++ trunk/libs/chrono/test/stopwatch/basic_stopwatch_laps_container_pass.cpp 2012-11-26 12:30:42 EST (Mon, 26 Nov 2012)
@@ -11,7 +11,7 @@
 #include "../cycle_count.hpp"
 #include <boost/detail/lightweight_test.hpp>
 
-#if !defined(BOOST_NO_STATIC_ASSERT)
+#if !defined(BOOST_NO_CXX11_STATIC_ASSERT)
 #define NOTHING ""
 #endif
 

Modified: trunk/libs/chrono/test/stopwatch/basic_stopwatch_last_lap_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/stopwatch/basic_stopwatch_last_lap_pass.cpp (original)
+++ trunk/libs/chrono/test/stopwatch/basic_stopwatch_last_lap_pass.cpp 2012-11-26 12:30:42 EST (Mon, 26 Nov 2012)
@@ -11,7 +11,7 @@
 #include "../cycle_count.hpp"
 #include <boost/detail/lightweight_test.hpp>
 
-#if !defined(BOOST_NO_STATIC_ASSERT)
+#if !defined(BOOST_NO_CXX11_STATIC_ASSERT)
 #define NOTHING ""
 #endif
 

Modified: trunk/libs/chrono/test/stopwatch/basic_stopwatch_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/stopwatch/basic_stopwatch_pass.cpp (original)
+++ trunk/libs/chrono/test/stopwatch/basic_stopwatch_pass.cpp 2012-11-26 12:30:42 EST (Mon, 26 Nov 2012)
@@ -10,7 +10,7 @@
 #include "../cycle_count.hpp"
 #include <boost/detail/lightweight_test.hpp>
 
-#if !defined(BOOST_NO_STATIC_ASSERT)
+#if !defined(BOOST_NO_CXX11_STATIC_ASSERT)
 #define NOTHING ""
 #endif
 

Modified: trunk/libs/chrono/test/stopwatch/basic_stopwatch_reporter_laps_accumulator_set_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/stopwatch/basic_stopwatch_reporter_laps_accumulator_set_pass.cpp (original)
+++ trunk/libs/chrono/test/stopwatch/basic_stopwatch_reporter_laps_accumulator_set_pass.cpp 2012-11-26 12:30:42 EST (Mon, 26 Nov 2012)
@@ -17,7 +17,7 @@
 #include <boost/system/system_error.hpp>
 #include <boost/detail/lightweight_test.hpp>
 
-#if !defined(BOOST_NO_STATIC_ASSERT)
+#if !defined(BOOST_NO_CXX11_STATIC_ASSERT)
 #define NOTHING ""
 #endif
 

Modified: trunk/libs/chrono/test/stopwatch/basic_stopwatch_reporter_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/stopwatch/basic_stopwatch_reporter_pass.cpp (original)
+++ trunk/libs/chrono/test/stopwatch/basic_stopwatch_reporter_pass.cpp 2012-11-26 12:30:42 EST (Mon, 26 Nov 2012)
@@ -15,7 +15,7 @@
 #include <boost/system/system_error.hpp>
 #include <boost/detail/lightweight_test.hpp>
 
-#if !defined(BOOST_NO_STATIC_ASSERT)
+#if !defined(BOOST_NO_CXX11_STATIC_ASSERT)
 #define NOTHING ""
 #endif
 

Modified: trunk/libs/chrono/test/stopwatch/laps_stopclock_laps_accumulator_set_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/stopwatch/laps_stopclock_laps_accumulator_set_pass.cpp (original)
+++ trunk/libs/chrono/test/stopwatch/laps_stopclock_laps_accumulator_set_pass.cpp 2012-11-26 12:30:42 EST (Mon, 26 Nov 2012)
@@ -15,7 +15,7 @@
 #include <boost/system/system_error.hpp>
 #include <boost/detail/lightweight_test.hpp>
 
-#if !defined(BOOST_NO_STATIC_ASSERT)
+#if !defined(BOOST_NO_CXX11_STATIC_ASSERT)
 #define NOTHING ""
 #endif
 

Modified: trunk/libs/chrono/test/stopwatch/laps_stopclock_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/stopwatch/laps_stopclock_pass.cpp (original)
+++ trunk/libs/chrono/test/stopwatch/laps_stopclock_pass.cpp 2012-11-26 12:30:42 EST (Mon, 26 Nov 2012)
@@ -14,7 +14,7 @@
 #include <boost/system/system_error.hpp>
 #include <boost/detail/lightweight_test.hpp>
 
-#if !defined(BOOST_NO_STATIC_ASSERT)
+#if !defined(BOOST_NO_CXX11_STATIC_ASSERT)
 #define NOTHING ""
 #endif
 

Modified: trunk/libs/chrono/test/stopwatch/simple_stopclock_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/stopwatch/simple_stopclock_pass.cpp (original)
+++ trunk/libs/chrono/test/stopwatch/simple_stopclock_pass.cpp 2012-11-26 12:30:42 EST (Mon, 26 Nov 2012)
@@ -14,7 +14,7 @@
 #include <boost/system/system_error.hpp>
 #include <boost/detail/lightweight_test.hpp>
 
-#if !defined(BOOST_NO_STATIC_ASSERT)
+#if !defined(BOOST_NO_CXX11_STATIC_ASSERT)
 #define NOTHING ""
 #endif
 

Modified: trunk/libs/chrono/test/stopwatch/simple_stopwatch_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/stopwatch/simple_stopwatch_pass.cpp (original)
+++ trunk/libs/chrono/test/stopwatch/simple_stopwatch_pass.cpp 2012-11-26 12:30:42 EST (Mon, 26 Nov 2012)
@@ -10,7 +10,7 @@
 #include "../cycle_count.hpp"
 #include <boost/detail/lightweight_test.hpp>
 
-#if !defined(BOOST_NO_STATIC_ASSERT)
+#if !defined(BOOST_NO_CXX11_STATIC_ASSERT)
 #define NOTHING ""
 #endif
 

Modified: trunk/libs/chrono/test/stopwatch/simple_stopwatch_reporter_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/stopwatch/simple_stopwatch_reporter_pass.cpp (original)
+++ trunk/libs/chrono/test/stopwatch/simple_stopwatch_reporter_pass.cpp 2012-11-26 12:30:42 EST (Mon, 26 Nov 2012)
@@ -15,7 +15,7 @@
 #include <boost/system/system_error.hpp>
 #include <boost/detail/lightweight_test.hpp>
 
-#if !defined(BOOST_NO_STATIC_ASSERT)
+#if !defined(BOOST_NO_CXX11_STATIC_ASSERT)
 #define NOTHING ""
 #endif
 

Modified: trunk/libs/chrono/test/stopwatch/suspendable_stopwatch_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/stopwatch/suspendable_stopwatch_pass.cpp (original)
+++ trunk/libs/chrono/test/stopwatch/suspendable_stopwatch_pass.cpp 2012-11-26 12:30:42 EST (Mon, 26 Nov 2012)
@@ -10,7 +10,7 @@
 #include "../cycle_count.hpp"
 #include <boost/detail/lightweight_test.hpp>
 
-#if !defined(BOOST_NO_STATIC_ASSERT)
+#if !defined(BOOST_NO_CXX11_STATIC_ASSERT)
 #define NOTHING ""
 #endif
 

Modified: trunk/libs/chrono/test/time_point/arithmetic_ext_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/time_point/arithmetic_ext_pass.cpp (original)
+++ trunk/libs/chrono/test/time_point/arithmetic_ext_pass.cpp 2012-11-26 12:30:42 EST (Mon, 26 Nov 2012)
@@ -14,7 +14,7 @@
 #define BOOST_CHRONO_EXTENSIONS
 #include <boost/chrono/chrono.hpp>
 #include <boost/detail/lightweight_test.hpp>
-#ifdef BOOST_NO_CONSTEXPR
+#ifdef BOOST_NO_CXX11_CONSTEXPR
 #define BOOST_CONSTEXPR_ASSERT(C) BOOST_TEST(C)
 #else
 #include <boost/static_assert.hpp>

Modified: trunk/libs/chrono/test/time_point/arithmetic_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/time_point/arithmetic_pass.cpp (original)
+++ trunk/libs/chrono/test/time_point/arithmetic_pass.cpp 2012-11-26 12:30:42 EST (Mon, 26 Nov 2012)
@@ -13,7 +13,7 @@
 
 #include <boost/chrono/chrono.hpp>
 #include <boost/detail/lightweight_test.hpp>
-#ifdef BOOST_NO_CONSTEXPR
+#ifdef BOOST_NO_CXX11_CONSTEXPR
 #define BOOST_CONSTEXPR_ASSERT(C) BOOST_TEST(C)
 #else
 #include <boost/static_assert.hpp>

Modified: trunk/libs/chrono/test/time_point/comparisons_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/time_point/comparisons_pass.cpp (original)
+++ trunk/libs/chrono/test/time_point/comparisons_pass.cpp 2012-11-26 12:30:42 EST (Mon, 26 Nov 2012)
@@ -13,7 +13,7 @@
 
 #include <boost/chrono/chrono.hpp>
 #include <boost/detail/lightweight_test.hpp>
-#ifdef BOOST_NO_CONSTEXPR
+#ifdef BOOST_NO_CXX11_CONSTEXPR
 #define BOOST_CONSTEXPR_ASSERT(C) BOOST_TEST(C)
 #else
 #include <boost/static_assert.hpp>

Modified: trunk/libs/chrono/test/time_point/constructor_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/time_point/constructor_pass.cpp (original)
+++ trunk/libs/chrono/test/time_point/constructor_pass.cpp 2012-11-26 12:30:42 EST (Mon, 26 Nov 2012)
@@ -14,7 +14,7 @@
 #include <boost/chrono/chrono.hpp>
 #include <boost/detail/lightweight_test.hpp>
 #include "../rep.h"
-#ifdef BOOST_NO_CONSTEXPR
+#ifdef BOOST_NO_CXX11_CONSTEXPR
 #define BOOST_CONSTEXPR_ASSERT(C) BOOST_TEST(C)
 #else
 #include <boost/static_assert.hpp>

Modified: trunk/libs/chrono/test/time_point/default_duration.pass.cpp
==============================================================================
--- trunk/libs/chrono/test/time_point/default_duration.pass.cpp (original)
+++ trunk/libs/chrono/test/time_point/default_duration.pass.cpp 2012-11-26 12:30:42 EST (Mon, 26 Nov 2012)
@@ -13,7 +13,7 @@
 
 #include <boost/chrono/chrono.hpp>
 #include <boost/type_traits.hpp>
-#if !defined(BOOST_NO_STATIC_ASSERT)
+#if !defined(BOOST_NO_CXX11_STATIC_ASSERT)
 #define NOTHING ""
 #endif
 

Modified: trunk/libs/chrono/test/time_point/default_duration_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/time_point/default_duration_pass.cpp (original)
+++ trunk/libs/chrono/test/time_point/default_duration_pass.cpp 2012-11-26 12:30:42 EST (Mon, 26 Nov 2012)
@@ -13,7 +13,7 @@
 
 #include <boost/chrono/chrono.hpp>
 #include <boost/type_traits.hpp>
-#if !defined(BOOST_NO_STATIC_ASSERT)
+#if !defined(BOOST_NO_CXX11_STATIC_ASSERT)
 #define NOTHING ""
 #endif
 

Modified: trunk/libs/chrono/test/time_point/time_point_cast_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/time_point/time_point_cast_pass.cpp (original)
+++ trunk/libs/chrono/test/time_point/time_point_cast_pass.cpp 2012-11-26 12:30:42 EST (Mon, 26 Nov 2012)
@@ -15,10 +15,10 @@
 #include <boost/type_traits.hpp>
 #include <boost/detail/lightweight_test.hpp>
 
-#if !defined(BOOST_NO_STATIC_ASSERT)
+#if !defined(BOOST_NO_CXX11_STATIC_ASSERT)
 #define NOTHING ""
 #endif
-#ifdef BOOST_NO_CONSTEXPR
+#ifdef BOOST_NO_CXX11_CONSTEXPR
 #define BOOST_CONSTEXPR_ASSERT(C) BOOST_TEST(C)
 #else
 #include <boost/static_assert.hpp>
@@ -34,7 +34,7 @@
     typedef boost::chrono::time_point<Clock, ToDuration> ToTimePoint;
     FromTimePoint f(df);
     ToTimePoint t(d);
-//~ #if defined(BOOST_NO_DECLTYPE)
+//~ #if defined(BOOST_NO_CXX11_DECLTYPE)
     //~ typedef BOOST_TYPEOF_TPL(boost::chrono::time_point_cast<ToDuration>(f)) R;
 //~ #else
     //~ typedef decltype(boost::chrono::time_point_cast<ToDuration>(f)) R;

Modified: trunk/libs/chrono/test/traits/common_type_duration_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/traits/common_type_duration_pass.cpp (original)
+++ trunk/libs/chrono/test/traits/common_type_duration_pass.cpp 2012-11-26 12:30:42 EST (Mon, 26 Nov 2012)
@@ -14,7 +14,7 @@
 #include <boost/chrono/chrono.hpp>
 #include <boost/type_traits/is_same.hpp>
 
-#if !defined(BOOST_NO_STATIC_ASSERT)
+#if !defined(BOOST_NO_CXX11_STATIC_ASSERT)
 #define NOTHING ""
 #endif
 

Modified: trunk/libs/chrono/test/traits/common_type_time_point_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/traits/common_type_time_point_pass.cpp (original)
+++ trunk/libs/chrono/test/traits/common_type_time_point_pass.cpp 2012-11-26 12:30:42 EST (Mon, 26 Nov 2012)
@@ -14,7 +14,7 @@
 #include <boost/chrono/chrono.hpp>
 #include <boost/type_traits.hpp>
 
-#if !defined(BOOST_NO_STATIC_ASSERT)
+#if !defined(BOOST_NO_CXX11_STATIC_ASSERT)
 #define NOTHING ""
 #endif
 

Modified: trunk/libs/chrono/test/traits/treat_as_floating_point_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/traits/treat_as_floating_point_pass.cpp (original)
+++ trunk/libs/chrono/test/traits/treat_as_floating_point_pass.cpp 2012-11-26 12:30:42 EST (Mon, 26 Nov 2012)
@@ -14,7 +14,7 @@
 #include <boost/chrono/chrono.hpp>
 #include <boost/type_traits.hpp>
 
-#if !defined(BOOST_NO_STATIC_ASSERT)
+#if !defined(BOOST_NO_CXX11_STATIC_ASSERT)
 #define NOTHING ""
 #endif
 

Modified: trunk/libs/chrono/test/win32_test.cpp
==============================================================================
--- trunk/libs/chrono/test/win32_test.cpp (original)
+++ trunk/libs/chrono/test/win32_test.cpp 2012-11-26 12:30:42 EST (Mon, 26 Nov 2012)
@@ -11,7 +11,7 @@
 #if defined(BOOST_CHRONO_WINDOWS_API) || defined(__CYGWIN__)
 
 #include <boost/chrono/detail/static_assert.hpp>
-#if !defined(BOOST_NO_STATIC_ASSERT)
+#if !defined(BOOST_NO_CXX11_STATIC_ASSERT)
 #define NOTHING ""
 #endif
 


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