| // 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 BOOST_CSBL_LIST_HPP |
| #define BOOST_CSBL_LIST_HPP |
| |
| #include <boost/config.hpp> |
| |
| #if defined BOOST_THREAD_USES_BOOST_LIST || defined BOOST_NO_CXX11_RVALUE_REFERENCES |
| #ifndef BOOST_THREAD_USES_BOOST_LIST |
| #define BOOST_THREAD_USES_BOOST_LIST |
| #endif |
| #include <boost/container/list.hpp> |
| #else |
| #include <list> |
| #endif |
| |
| namespace boost |
| { |
| namespace csbl |
| { |
| #if defined BOOST_THREAD_USES_BOOST_LIST |
| using ::boost::container::list; |
| #else |
| using ::std::list; |
| #endif |
| |
| } |
| } |
| #endif // header |