Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/thread/csbl/tuple.hpp @ 133:4acb5d8d80b6 tip
Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author | Chris Cannam |
---|---|
date | Tue, 30 Jul 2019 12:25:44 +0100 |
parents | f46d142149f5 |
children |
rev | line source |
---|---|
Chris@102 | 1 // Copyright (C) 2013 Vicente J. Botet Escriba |
Chris@102 | 2 // |
Chris@102 | 3 // Distributed under the Boost Software License, Version 1.0. (See accompanying |
Chris@102 | 4 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
Chris@102 | 5 // |
Chris@102 | 6 // 2013/10 Vicente J. Botet Escriba |
Chris@102 | 7 // Creation. |
Chris@102 | 8 |
Chris@102 | 9 #ifndef BOOST_CSBL_TUPLE_HPP |
Chris@102 | 10 #define BOOST_CSBL_TUPLE_HPP |
Chris@102 | 11 |
Chris@102 | 12 #include <boost/config.hpp> |
Chris@102 | 13 |
Chris@102 | 14 #if defined BOOST_THREAD_USES_BOOST_TUPLE || defined BOOST_NO_CXX11_HDR_TUPLE || defined BOOST_NO_CXX11_RVALUE_REFERENCES |
Chris@102 | 15 #include <boost/tuple/tuple.hpp> |
Chris@102 | 16 #ifndef BOOST_THREAD_USES_BOOST_TUPLE |
Chris@102 | 17 #define BOOST_THREAD_USES_BOOST_TUPLE |
Chris@102 | 18 #endif |
Chris@102 | 19 |
Chris@102 | 20 #else |
Chris@102 | 21 #include <tuple> |
Chris@102 | 22 #endif |
Chris@102 | 23 |
Chris@102 | 24 namespace boost |
Chris@102 | 25 { |
Chris@102 | 26 namespace csbl |
Chris@102 | 27 { |
Chris@102 | 28 #if defined BOOST_THREAD_USES_BOOST_TUPLE |
Chris@102 | 29 using ::boost::tuple; |
Chris@102 | 30 using ::boost::get; |
Chris@102 | 31 using ::boost::make_tuple; |
Chris@102 | 32 //using ::boost::tuple_size; |
Chris@102 | 33 #else |
Chris@102 | 34 // 20.4.2, class template tuple: |
Chris@102 | 35 using ::std::tuple; |
Chris@102 | 36 using ::std::get; |
Chris@102 | 37 using ::std::make_tuple; |
Chris@102 | 38 using ::std::tuple_size; |
Chris@102 | 39 // 20.4.2.4, tuple creation functions: |
Chris@102 | 40 // 20.4.2.5, tuple helper classes: |
Chris@102 | 41 // 20.4.2.6, element access: |
Chris@102 | 42 // 20.4.2.7, relational operators: |
Chris@102 | 43 // 20.4.2.8, allocator-related traits |
Chris@102 | 44 // 20.4.2.9, specialized algorithms: |
Chris@102 | 45 #endif |
Chris@102 | 46 |
Chris@102 | 47 } |
Chris@102 | 48 } |
Chris@102 | 49 #endif // header |