Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:30:11

0001 //////////////////////////////////////////////////////////////////////////////
0002 //
0003 // (C) Copyright Ion Gaztanaga 2005-2013.
0004 //
0005 // Distributed under the Boost Software License, Version 1.0.
0006 // (See accompanying file LICENSE_1_0.txt or copy at
0007 // http://www.boost.org/LICENSE_1_0.txt)
0008 //
0009 // See http://www.boost.org/libs/container for documentation.
0010 //
0011 //////////////////////////////////////////////////////////////////////////////
0012 
0013 #ifndef BOOST_CONTAINER_CONTAINER_DETAIL_IS_PAIR_HPP
0014 #define BOOST_CONTAINER_CONTAINER_DETAIL_IS_PAIR_HPP
0015 
0016 #ifndef BOOST_CONFIG_HPP
0017 #  include <boost/config.hpp>
0018 #endif
0019 
0020 #if defined(BOOST_HAS_PRAGMA_ONCE)
0021 #  pragma once
0022 #endif
0023 
0024 #include <boost/container/detail/config_begin.hpp>
0025 #include <boost/container/detail/workaround.hpp>
0026 #include <boost/container/detail/std_fwd.hpp>
0027 
0028 #if defined(BOOST_MSVC) && (_CPPLIB_VER == 520)
0029 //MSVC 2010 tuple marker
0030 namespace std { namespace tr1 { struct _Nil; }}
0031 #elif defined(BOOST_MSVC) && (_CPPLIB_VER == 540)
0032 //MSVC 2012 tuple marker
0033 namespace std { struct _Nil; }
0034 #endif
0035 
0036 namespace boost {
0037 namespace tuples {
0038 
0039 struct null_type;
0040 
0041 template <
0042   class T0, class T1, class T2,
0043   class T3, class T4, class T5,
0044   class T6, class T7, class T8,
0045   class T9>
0046 class tuple;
0047 
0048 }  //namespace tuples {
0049 }  //namespace boost {
0050 
0051 namespace boost {
0052 namespace container {
0053 
0054 struct try_emplace_t{};
0055 
0056 namespace dtl {
0057 
0058 template <class T1, class T2>
0059 struct pair;
0060 
0061 template <class T>
0062 struct is_pair
0063 {
0064    static const bool value = false;
0065 };
0066 
0067 template <class T1, class T2>
0068 struct is_pair< pair<T1, T2> >
0069 {
0070    static const bool value = true;
0071 };
0072 
0073 template <class T1, class T2>
0074 struct is_pair< std::pair<T1, T2> >
0075 {
0076    static const bool value = true;
0077 };
0078 
0079 template <class T>
0080 struct is_not_pair
0081 {
0082    static const bool value = !is_pair<T>::value;
0083 };
0084 
0085 }  //namespace dtl {
0086 }  //namespace container {
0087 }  //namespace boost {
0088 
0089 #include <boost/container/detail/config_end.hpp>
0090 
0091 #endif   //#ifndef BOOST_CONTAINER_CONTAINER_DETAIL_IS_PAIR_HPP