• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_VECTOR_HPP
10 #define BOOST_CSBL_VECTOR_HPP
11 
12 #include <boost/config.hpp>
13 
14 #if defined BOOST_THREAD_USES_BOOST_VECTOR || defined BOOST_NO_CXX11_RVALUE_REFERENCES || defined BOOST_MSVC
15 #ifndef BOOST_THREAD_USES_BOOST_VECTOR
16 #define BOOST_THREAD_USES_BOOST_VECTOR
17 #endif
18 #include <boost/container/vector.hpp>
19 #else
20 #include <vector>
21 #endif
22 
23 namespace boost
24 {
25   namespace csbl
26   {
27 #if defined BOOST_THREAD_USES_BOOST_VECTOR
28     using ::boost::container::vector;
29 #else
30     using ::std::vector;
31 #endif
32 
33   }
34 }
35 #endif // header
36