Sha256: f0cc939dfc662a9c35c6e47e56503d1189a5dd64efb9764379e26f334836137a

Contents?: true

Size: 1.88 KB

Versions: 19

Compression:

Stored size: 1.88 KB

Contents

//  (C) Copyright 2009-2011 Frederic Bron.
//
//  Use, modification and distribution are subject to 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/type_traits for most recent version including documentation.

#ifndef BOOST_TT_HAS_PRE_INCREMENT_HPP_INCLUDED
#define BOOST_TT_HAS_PRE_INCREMENT_HPP_INCLUDED

#include <boost/type_traits/is_array.hpp>

#define BOOST_TT_TRAIT_NAME has_pre_increment
#define BOOST_TT_TRAIT_OP ++
#define BOOST_TT_FORBIDDEN_IF\
   (\
      /* bool */\
      ::boost::is_same< bool, Rhs_nocv >::value || \
      /* void* */\
      (\
         ::boost::is_pointer< Rhs_noref >::value && \
         ::boost::is_void< Rhs_noptr >::value\
      ) || \
      /* (fundamental or pointer) and const */\
      (\
         ( \
            ::boost::is_fundamental< Rhs_nocv >::value || \
            ::boost::is_pointer< Rhs_noref >::value\
         ) && \
         ::boost::is_const< Rhs_noref >::value\
      )||\
      /* Arrays */ \
      ::boost::is_array<Rhs_noref>::value\
      )


#include <boost/type_traits/detail/has_prefix_operator.hpp>

#undef BOOST_TT_TRAIT_NAME
#undef BOOST_TT_TRAIT_OP
#undef BOOST_TT_FORBIDDEN_IF

#if defined(BOOST_TT_HAS_ACCURATE_BINARY_OPERATOR_DETECTION)

namespace boost {

   template <class R>
   struct has_pre_increment<bool, R> : public false_type {};
   template <>
   struct has_pre_increment<bool, boost::binary_op_detail::dont_care> : public false_type {};
   template <>
   struct has_pre_increment<bool, void> : public false_type {};

   template <class R>
   struct has_pre_increment<bool&, R> : public false_type {};
   template <>
   struct has_pre_increment<bool&, boost::binary_op_detail::dont_care> : public false_type {};
   template <>
   struct has_pre_increment<bool&, void> : public false_type {};

}

#endif

#endif

Version data entries

19 entries across 19 versions & 1 rubygems

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