Chris@16: // Chris@16: //! Copyright (c) 2011 Chris@16: //! Brandon Kohn Chris@16: // Chris@16: // Distributed under the Boost Software License, Version 1.0. (See Chris@16: // accompanying file LICENSE_1_0.txt or copy at Chris@16: // http://www.boost.org/LICENSE_1_0.txt) Chris@16: // Chris@16: #ifndef BOOST_NUMERIC_CAST_TRAITS_HPP Chris@16: #define BOOST_NUMERIC_CAST_TRAITS_HPP Chris@16: Chris@16: #include Chris@16: Chris@16: namespace boost { namespace numeric { Chris@16: Chris@16: template Chris@16: struct numeric_cast_traits Chris@16: { Chris@16: typedef def_overflow_handler overflow_policy; Chris@16: typedef UseInternalRangeChecker range_checking_policy; Chris@16: typedef Trunc rounding_policy; Chris@16: }; Chris@16: Chris@16: }}//namespace boost::numeric; Chris@16: Chris@16: #if !defined( BOOST_NUMERIC_CONVERSION_RELAX_BUILT_IN_CAST_TRAITS ) Chris@16: #include Chris@16: #include Chris@16: #endif//!defined BOOST_NUMERIC_CONVERSION_RELAX_BUILT_IN_CAST_TRAITS Chris@16: Chris@16: #endif//BOOST_NUMERIC_CAST_TRAITS_HPP