Sha256: da988a3f98e58971225acbaffc3965e326b0cd6f6d3411d3fcfab2fbf3b215cb

Contents?: true

Size: 1.17 KB

Versions: 27

Compression:

Stored size: 1.17 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/make_unsigned.hpp
 *
 * This header defines \c make_unsigned type trait
 */

#ifndef BOOST_ATOMIC_DETAIL_TYPE_TRAITS_MAKE_UNSIGNED_HPP_INCLUDED_
#define BOOST_ATOMIC_DETAIL_TYPE_TRAITS_MAKE_UNSIGNED_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/make_unsigned.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::make_unsigned;
#else
using boost::make_unsigned;
#endif

} // namespace detail
} // namespace atomics
} // namespace boost

#endif // BOOST_ATOMIC_DETAIL_TYPE_TRAITS_MAKE_UNSIGNED_HPP_INCLUDED_

Version data entries

27 entries across 27 versions & 1 rubygems

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