/usr/include/boost/container/detail
Edit: /usr/include/boost/container/detail/mpl.hpp (3834B)
//////////////////////////////////////////////////////////////////////////////
//
// (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
#endif
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif
#include
#include
#include
#include
#include
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;
using boost::move_detail::remove_const;
template
struct select1st
{
typedef FirstType type;
template
BOOST_CONTAINER_FORCEINLINE const type& operator()(const T& x) const
{ return x.first; }
template
BOOST_CONTAINER_FORCEINLINE type& operator()(T& x)
{ return const_cast(x.first); }
};
template
struct void_t { typedef void type; };
template
struct is_transparent_base
{
static const bool value = false;
};
template
struct is_transparent_base::type>
{
static const bool value = true;
};
template
struct is_transparent
: is_transparent_base
{};
template
struct enable_if_transparent
: boost::move_detail::enable_if_c::value, R>
{};
#ifndef BOOST_CONTAINER_NO_CXX17_CTAD
// void_t (void_t for C++11)
template using variadic_void_t = void;
// Trait to detect Allocator-like types.
template
struct is_allocator
{
static const bool value = false;
};
template
T&& ctad_declval();
template
struct is_allocator < Allocator,
variadic_void_t< typename Allocator::value_type
, decltype(ctad_declval().allocate(size_t{})) >>
{
static const bool value = true;
};
template
using require_allocator_t = typename enable_if_c::value, T>::type;
template
using require_nonallocator_t = typename enable_if_c::value, T>::type;
#endif
} //namespace dtl {
} //namespace container {
} //namespace boost {
#include
#endif //#ifndef BOOST_CONTAINER_CONTAINER_DETAIL_MPL_HPP