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-5.0.20 src/cxx_supportlib/vendor-modified/boost/numeric/conversion/numeric_cast_traits.hpp
passenger-5.0.19 src/cxx_supportlib/vendor-modified/boost/numeric/conversion/numeric_cast_traits.hpp
passenger-5.0.18 ext/boost/numeric/conversion/numeric_cast_traits.hpp
passenger-5.0.17 ext/boost/numeric/conversion/numeric_cast_traits.hpp
passenger-5.0.16 ext/boost/numeric/conversion/numeric_cast_traits.hpp
passenger-5.0.15 ext/boost/numeric/conversion/numeric_cast_traits.hpp
passenger-5.0.14 ext/boost/numeric/conversion/numeric_cast_traits.hpp
passenger-5.0.13 ext/boost/numeric/conversion/numeric_cast_traits.hpp
passenger-5.0.11 ext/boost/numeric/conversion/numeric_cast_traits.hpp
passenger-5.0.10 ext/boost/numeric/conversion/numeric_cast_traits.hpp
passenger-5.0.9 ext/boost/numeric/conversion/numeric_cast_traits.hpp
passenger-5.0.8 ext/boost/numeric/conversion/numeric_cast_traits.hpp
buncher-1.0.5 ext/boost/1.57.0/include/boost//numeric/conversion/numeric_cast_traits.hpp
passenger-5.0.7 ext/boost/numeric/conversion/numeric_cast_traits.hpp
passenger-5.0.6 ext/boost/numeric/conversion/numeric_cast_traits.hpp
passenger-5.0.5 ext/boost/numeric/conversion/numeric_cast_traits.hpp
passenger-5.0.4 ext/boost/numeric/conversion/numeric_cast_traits.hpp
passenger-5.0.3 ext/boost/numeric/conversion/numeric_cast_traits.hpp
passenger-5.0.2 ext/boost/numeric/conversion/numeric_cast_traits.hpp
passenger-5.0.1 ext/boost/numeric/conversion/numeric_cast_traits.hpp