Sha256: 64697b844a2efd8aa3a4a51a93b0dfe6051335490090f3f25c1e4dbe1b55e259

Contents?: true

Size: 770 Bytes

Versions: 15

Compression:

Stored size: 770 Bytes

Contents

#ifndef BOOST_MPL_AUX_STATIC_CAST_HPP_INCLUDED
#define BOOST_MPL_AUX_STATIC_CAST_HPP_INCLUDED

// Copyright Aleksey Gurtovoy 2001-2004
//
// 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)
//
// See http://www.boost.org/libs/mpl for documentation.

// $Id$
// $Date$
// $Revision$

#include <boost/mpl/aux_/config/workaround.hpp>

#if BOOST_WORKAROUND(BOOST_BORLANDC, BOOST_TESTED_AT(0x561)) \
 || BOOST_WORKAROUND(__GNUC__, < 3) \
 || BOOST_WORKAROUND(__MWERKS__, <= 0x3001)
#   define BOOST_MPL_AUX_STATIC_CAST(T, expr) (T)(expr)
#else
#   define BOOST_MPL_AUX_STATIC_CAST(T, expr) static_cast<T>(expr)
#endif

#endif // BOOST_MPL_AUX_STATIC_CAST_HPP_INCLUDED

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
passenger-6.0.24 src/cxx_supportlib/vendor-modified/boost/mpl/aux_/static_cast.hpp
passenger-6.0.23 src/cxx_supportlib/vendor-modified/boost/mpl/aux_/static_cast.hpp
passenger-6.0.20 src/cxx_supportlib/vendor-modified/boost/mpl/aux_/static_cast.hpp
passenger-6.0.19 src/cxx_supportlib/vendor-modified/boost/mpl/aux_/static_cast.hpp
passenger-6.0.18 src/cxx_supportlib/vendor-modified/boost/mpl/aux_/static_cast.hpp
passenger-6.0.17 src/cxx_supportlib/vendor-modified/boost/mpl/aux_/static_cast.hpp
passenger-6.0.16 src/cxx_supportlib/vendor-modified/boost/mpl/aux_/static_cast.hpp
passenger-6.0.15 src/cxx_supportlib/vendor-modified/boost/mpl/aux_/static_cast.hpp
passenger-6.0.14 src/cxx_supportlib/vendor-modified/boost/mpl/aux_/static_cast.hpp
passenger-6.0.13 src/cxx_supportlib/vendor-modified/boost/mpl/aux_/static_cast.hpp
passenger-6.0.12 src/cxx_supportlib/vendor-modified/boost/mpl/aux_/static_cast.hpp
passenger-6.0.11 src/cxx_supportlib/vendor-modified/boost/mpl/aux_/static_cast.hpp
passenger-6.0.10 src/cxx_supportlib/vendor-modified/boost/mpl/aux_/static_cast.hpp
passenger-6.0.9 src/cxx_supportlib/vendor-modified/boost/mpl/aux_/static_cast.hpp
passenger-6.0.8 src/cxx_supportlib/vendor-modified/boost/mpl/aux_/static_cast.hpp