mirror of
https://github.com/yuzu-emu/ext-boost.git
synced 2025-01-08 11:25:38 +00:00
db95c7fe31
Keeps the boost libraries up to date. This also silences informational messages that get spammed throughout the build, such as: "Info: Boost.Config is older than your compiler version - probably nothing bad will happen - but you may wish to look for an update Boost version. Define BOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE to suppress this message." Which makes the compilation process a lot less noisy on Windows. It's now much easier to actually spot warnings that occur.
105 lines
2.7 KiB
C++
105 lines
2.7 KiB
C++
//////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// (C) Copyright Ion Gaztanaga 2005-2013.
|
|
//
|
|
// 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/container for documentation.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef BOOST_CONTAINER_CONTAINER_DETAIL_MPL_HPP
|
|
#define BOOST_CONTAINER_CONTAINER_DETAIL_MPL_HPP
|
|
|
|
#ifndef BOOST_CONFIG_HPP
|
|
# include <boost/config.hpp>
|
|
#endif
|
|
|
|
#if defined(BOOST_HAS_PRAGMA_ONCE)
|
|
# pragma once
|
|
#endif
|
|
|
|
#include <boost/container/detail/config_begin.hpp>
|
|
#include <boost/container/detail/workaround.hpp>
|
|
#include <boost/move/detail/type_traits.hpp>
|
|
#include <boost/intrusive/detail/mpl.hpp>
|
|
|
|
#include <cstddef>
|
|
|
|
namespace boost {
|
|
namespace container {
|
|
namespace dtl {
|
|
|
|
using boost::move_detail::integral_constant;
|
|
using boost::move_detail::true_type;
|
|
using boost::move_detail::false_type;
|
|
using boost::move_detail::enable_if_c;
|
|
using boost::move_detail::enable_if;
|
|
using boost::move_detail::enable_if_convertible;
|
|
using boost::move_detail::disable_if_c;
|
|
using boost::move_detail::disable_if;
|
|
using boost::move_detail::disable_if_convertible;
|
|
using boost::move_detail::is_convertible;
|
|
using boost::move_detail::if_c;
|
|
using boost::move_detail::if_;
|
|
using boost::move_detail::identity;
|
|
using boost::move_detail::bool_;
|
|
using boost::move_detail::true_;
|
|
using boost::move_detail::false_;
|
|
using boost::move_detail::yes_type;
|
|
using boost::move_detail::no_type;
|
|
using boost::move_detail::bool_;
|
|
using boost::move_detail::true_;
|
|
using boost::move_detail::false_;
|
|
using boost::move_detail::unvoid_ref;
|
|
using boost::move_detail::and_;
|
|
using boost::move_detail::or_;
|
|
using boost::move_detail::not_;
|
|
using boost::move_detail::enable_if_and;
|
|
using boost::move_detail::disable_if_and;
|
|
using boost::move_detail::enable_if_or;
|
|
using boost::move_detail::disable_if_or;
|
|
|
|
template <class FirstType>
|
|
struct select1st
|
|
{
|
|
typedef FirstType type;
|
|
|
|
template<class T>
|
|
const type& operator()(const T& x) const
|
|
{ return x.first; }
|
|
|
|
template<class T>
|
|
type& operator()(T& x)
|
|
{ return const_cast<type&>(x.first); }
|
|
};
|
|
|
|
template <class T, class=void>
|
|
struct is_transparent
|
|
{
|
|
static const bool value = false;
|
|
};
|
|
|
|
template <class T>
|
|
struct is_transparent<T, typename T::is_transparent>
|
|
{
|
|
static const bool value = true;
|
|
};
|
|
|
|
template <typename C, typename K, typename R>
|
|
struct enable_if_transparent
|
|
: boost::move_detail::enable_if_c<dtl::is_transparent<C>::value, R>
|
|
{};
|
|
|
|
|
|
} //namespace dtl {
|
|
} //namespace container {
|
|
} //namespace boost {
|
|
|
|
#include <boost/container/detail/config_end.hpp>
|
|
|
|
#endif //#ifndef BOOST_CONTAINER_CONTAINER_DETAIL_MPL_HPP
|
|
|