1 // Copyright (C) 2013 Vicente J. Botet Escriba 2 // 3 // Distributed under the Boost Software License, Version 1.0. (See accompanying 4 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 // 6 // 2013/10 Vicente J. Botet Escriba 7 // Creation. 8 9 #ifndef BOOST_CSBL_LIST_HPP 10 #define BOOST_CSBL_LIST_HPP 11 12 #include <boost/config.hpp> 13 14 #if defined BOOST_THREAD_USES_BOOST_LIST || defined BOOST_NO_CXX11_RVALUE_REFERENCES 15 #ifndef BOOST_THREAD_USES_BOOST_LIST 16 #define BOOST_THREAD_USES_BOOST_LIST 17 #endif 18 #include <boost/container/list.hpp> 19 #else 20 #include <list> 21 #endif 22 23 namespace boost 24 { 25 namespace csbl 26 { 27 #if defined BOOST_THREAD_USES_BOOST_LIST 28 using ::boost::container::list; 29 #else 30 using ::std::list; 31 #endif 32 33 } 34 } 35 #endif // header 36