Sha256: dbb4008d98809f04efc7cc8c9bfe6d8d6223bd10cda0cd649fbf1e635e515290

Contents?: true

Size: 983 Bytes

Versions: 141

Compression:

Stored size: 983 Bytes

Contents

//
//! Copyright (c) 2011
//! Brandon Kohn
//
//  Distributed under the Boost Software License, Version 1.0. (See
//  accompanying file LICENSE_1_0.txt or copy at
//  http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef BOOST_NUMERIC_CAST_TRAITS_HPP
#define BOOST_NUMERIC_CAST_TRAITS_HPP

#include <boost/numeric/conversion/converter_policies.hpp>

namespace boost { namespace numeric {

    template <typename Target, typename Source, typename EnableIf = void>
    struct numeric_cast_traits
    {
        typedef def_overflow_handler    overflow_policy;
        typedef UseInternalRangeChecker range_checking_policy;
        typedef Trunc<Source>           rounding_policy;
    };

}}//namespace boost::numeric;

#if !defined( BOOST_NUMERIC_CONVERSION_RELAX_BUILT_IN_CAST_TRAITS )
#include <boost/cstdint.hpp>
#include <boost/numeric/conversion/detail/numeric_cast_traits.hpp>
#endif//!defined BOOST_NUMERIC_CONVERSION_RELAX_BUILT_IN_CAST_TRAITS

#endif//BOOST_NUMERIC_CAST_TRAITS_HPP

Version data entries

141 entries across 141 versions & 3 rubygems

Version Path
passenger-6.0.24 src/cxx_supportlib/vendor-modified/boost/numeric/conversion/numeric_cast_traits.hpp
passenger-6.0.23 src/cxx_supportlib/vendor-modified/boost/numeric/conversion/numeric_cast_traits.hpp
passenger-6.0.20 src/cxx_supportlib/vendor-modified/boost/numeric/conversion/numeric_cast_traits.hpp
passenger-6.0.19 src/cxx_supportlib/vendor-modified/boost/numeric/conversion/numeric_cast_traits.hpp
passenger-6.0.18 src/cxx_supportlib/vendor-modified/boost/numeric/conversion/numeric_cast_traits.hpp
passenger-6.0.17 src/cxx_supportlib/vendor-modified/boost/numeric/conversion/numeric_cast_traits.hpp
passenger-6.0.16 src/cxx_supportlib/vendor-modified/boost/numeric/conversion/numeric_cast_traits.hpp
passenger-6.0.15 src/cxx_supportlib/vendor-modified/boost/numeric/conversion/numeric_cast_traits.hpp
passenger-6.0.14 src/cxx_supportlib/vendor-modified/boost/numeric/conversion/numeric_cast_traits.hpp
passenger-6.0.13 src/cxx_supportlib/vendor-modified/boost/numeric/conversion/numeric_cast_traits.hpp
passenger-6.0.12 src/cxx_supportlib/vendor-modified/boost/numeric/conversion/numeric_cast_traits.hpp
passenger-6.0.11 src/cxx_supportlib/vendor-modified/boost/numeric/conversion/numeric_cast_traits.hpp
passenger-6.0.10 src/cxx_supportlib/vendor-modified/boost/numeric/conversion/numeric_cast_traits.hpp
passenger-6.0.9 src/cxx_supportlib/vendor-modified/boost/numeric/conversion/numeric_cast_traits.hpp
passenger-6.0.8 src/cxx_supportlib/vendor-modified/boost/numeric/conversion/numeric_cast_traits.hpp
passenger-6.0.7 src/cxx_supportlib/vendor-modified/boost/numeric/conversion/numeric_cast_traits.hpp
passenger-6.0.6 src/cxx_supportlib/vendor-modified/boost/numeric/conversion/numeric_cast_traits.hpp
passenger-6.0.5 src/cxx_supportlib/vendor-modified/boost/numeric/conversion/numeric_cast_traits.hpp
passenger-6.0.4 src/cxx_supportlib/vendor-modified/boost/numeric/conversion/numeric_cast_traits.hpp
passenger-6.0.3 src/cxx_supportlib/vendor-modified/boost/numeric/conversion/numeric_cast_traits.hpp