50 lines
1.3 KiB
C++
50 lines
1.3 KiB
C++
// Copyright (C) 2013 Vicente J. Botet Escriba
|
|
//
|
|
// 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)
|
|
//
|
|
// 2013/10 Vicente J. Botet Escriba
|
|
// Creation.
|
|
|
|
#ifndef ACTIV_BOOST_CSBL_TUPLE_HPP
|
|
#define ACTIV_BOOST_CSBL_TUPLE_HPP
|
|
|
|
#include <ActivBoost/config.hpp>
|
|
|
|
#if defined ACTIV_BOOST_THREAD_USES_ACTIV_BOOST_TUPLE || defined ACTIV_BOOST_NO_CXX11_HDR_TUPLE || defined ACTIV_BOOST_NO_CXX11_RVALUE_REFERENCES
|
|
#include <ActivBoost/tuple/tuple.hpp>
|
|
#ifndef ACTIV_BOOST_THREAD_USES_ACTIV_BOOST_TUPLE
|
|
#define ACTIV_BOOST_THREAD_USES_ACTIV_BOOST_TUPLE
|
|
#endif
|
|
|
|
#else
|
|
#include <tuple>
|
|
#endif
|
|
|
|
namespace Boost
|
|
{
|
|
namespace csbl
|
|
{
|
|
#if defined ACTIV_BOOST_THREAD_USES_ACTIV_BOOST_TUPLE
|
|
using ::Boost::tuple;
|
|
using ::Boost::get;
|
|
using ::Boost::make_tuple;
|
|
//using ::Boost::tuple_size;
|
|
#else
|
|
// 20.4.2, class template tuple:
|
|
using ::std::tuple;
|
|
using ::std::get;
|
|
using ::std::make_tuple;
|
|
using ::std::tuple_size;
|
|
// 20.4.2.4, tuple creation functions:
|
|
// 20.4.2.5, tuple helper classes:
|
|
// 20.4.2.6, element access:
|
|
// 20.4.2.7, relational operators:
|
|
// 20.4.2.8, allocator-related traits
|
|
// 20.4.2.9, specialized algorithms:
|
|
#endif
|
|
|
|
}
|
|
}
|
|
#endif // header
|