Sha256: 35f9afd00b9fc7e8b3267ddfb4580d9c7bd359675f406c70680aa47c1b6f4ed5
Contents?: true
Size: 1.14 KB
Versions: 29
Compression:
Stored size: 1.14 KB
Contents
/* * 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) * * Copyright (c) 2017 Andrey Semashev */ /*! * \file atomic/detail/type_traits/is_signed.hpp * * This header defines \c is_signed type trait */ #ifndef BOOST_ATOMIC_DETAIL_TYPE_TRAITS_IS_SIGNED_HPP_INCLUDED_ #define BOOST_ATOMIC_DETAIL_TYPE_TRAITS_IS_SIGNED_HPP_INCLUDED_ #include <boost/atomic/detail/config.hpp> // Some versions of libstdc++ don't consider __int128 an integral type. Use Boost.TypeTraits because of that. #if !defined(BOOST_ATOMIC_DETAIL_NO_CXX11_BASIC_HDR_TYPE_TRAITS) && !defined(BOOST_HAS_INT128) #include <type_traits> #else #include <boost/type_traits/is_signed.hpp> #endif #ifdef BOOST_HAS_PRAGMA_ONCE #pragma once #endif namespace boost { namespace atomics { namespace detail { #if !defined(BOOST_ATOMIC_DETAIL_NO_CXX11_BASIC_HDR_TYPE_TRAITS) && !defined(BOOST_HAS_INT128) using std::is_signed; #else using boost::is_signed; #endif } // namespace detail } // namespace atomics } // namespace boost #endif // BOOST_ATOMIC_DETAIL_TYPE_TRAITS_IS_SIGNED_HPP_INCLUDED_
Version data entries
29 entries across 29 versions & 1 rubygems