|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r85421 - trunk/boost/spirit/home/support
From: hartmut.kaiser_at_[hidden]
Date: 2013-08-22 10:36:22
Author: hkaiser
Date: 2013-08-22 10:36:22 EDT (Thu, 22 Aug 2013)
New Revision: 85421
URL: http://svn.boost.org/trac/boost/changeset/85421
Log:
Spirit: Fixing clang regressions
Text files modified:
trunk/boost/spirit/home/support/numeric_traits.hpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Modified: trunk/boost/spirit/home/support/numeric_traits.hpp
==============================================================================
--- trunk/boost/spirit/home/support/numeric_traits.hpp Thu Aug 22 08:38:19 2013 (r85420)
+++ trunk/boost/spirit/home/support/numeric_traits.hpp 2013-08-22 10:36:22 EDT (Thu, 22 Aug 2013) (r85421)
@@ -115,14 +115,14 @@
template <typename T, typename Enable = void>
struct is_infinite;
-
+
template <typename T, typename Enable = void>
struct is_integer_wrapping : mpl::false_ {};
-
+
template <typename T>
struct is_integer_wrapping_default
- : mpl::bool_<(T(integer_traits<T>::const_max + 1) == integer_traits<T>::const_min)> {};
-
+ : mpl::bool_<(static_cast<T>(integer_traits<T>::const_max + 1) == integer_traits<T>::const_min)> {};
+
template <typename T>
struct is_integer_wrapping<T, typename enable_if_c<integer_traits<T>::is_integral>::type>
: is_integer_wrapping_default<T> {};
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