Sha256: 0d8fc6a2ea3a31d4c869c79ffff8344b51a711545046564611e980b7c9dce076

Contents?: true

Size: 1.56 KB

Versions: 53

Compression:

Stored size: 1.56 KB

Contents

// 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_DEQUE_HPP
#define BOOST_CSBL_DEQUE_HPP

#include <boost/config.hpp>
// MSVC has some trouble instantiating a non_copyable type
//C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\INCLUDE\xmemory0(606) : error C2248: 'non_copyable::non_copyable' : cannot access private member declared in class 'non_copyable'
//        ..\libs\thread\test\sync\mutual_exclusion\queue_views\single_thread_pass.cpp(24) : see declaration of 'non_copyable::non_copyable'
//        ..\libs\thread\test\sync\mutual_exclusion\queue_views\single_thread_pass.cpp(23) : see declaration of 'non_copyable'
//        C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\INCLUDE\xmemory0(605) : while compiling class template member function 'void std::allocator<_Ty>::construct(_Ty *,const _Ty &)'
//        with
//        [
//            _Ty=non_copyable
//        ]
#if defined BOOST_THREAD_USES_BOOST_DEQUE || defined BOOST_NO_CXX11_RVALUE_REFERENCES || (defined _MSC_VER && _MSC_FULL_VER < 180020827)
#ifndef BOOST_THREAD_USES_BOOST_DEQUE
#define BOOST_THREAD_USES_BOOST_DEQUE
#endif
#include <boost/container/deque.hpp>
#else
#include <deque>
#endif

namespace boost
{
  namespace csbl
  {
#if defined BOOST_THREAD_USES_BOOST_DEQUE
    using ::boost::container::deque;

#else
    using ::std::deque;

#endif

  }
}
#endif // header

Version data entries

53 entries across 53 versions & 2 rubygems

Version Path
passenger-6.0.20 src/cxx_supportlib/vendor-modified/boost/thread/csbl/deque.hpp
passenger-6.0.19 src/cxx_supportlib/vendor-modified/boost/thread/csbl/deque.hpp
passenger-6.0.18 src/cxx_supportlib/vendor-modified/boost/thread/csbl/deque.hpp
passenger-6.0.17 src/cxx_supportlib/vendor-modified/boost/thread/csbl/deque.hpp
passenger-6.0.16 src/cxx_supportlib/vendor-modified/boost/thread/csbl/deque.hpp
passenger-6.0.15 src/cxx_supportlib/vendor-modified/boost/thread/csbl/deque.hpp
passenger-6.0.14 src/cxx_supportlib/vendor-modified/boost/thread/csbl/deque.hpp
passenger-6.0.13 src/cxx_supportlib/vendor-modified/boost/thread/csbl/deque.hpp
passenger-6.0.12 src/cxx_supportlib/vendor-modified/boost/thread/csbl/deque.hpp
passenger-6.0.11 src/cxx_supportlib/vendor-modified/boost/thread/csbl/deque.hpp
passenger-6.0.10 src/cxx_supportlib/vendor-modified/boost/thread/csbl/deque.hpp
passenger-6.0.9 src/cxx_supportlib/vendor-modified/boost/thread/csbl/deque.hpp
passenger-6.0.8 src/cxx_supportlib/vendor-modified/boost/thread/csbl/deque.hpp
passenger-6.0.7 src/cxx_supportlib/vendor-modified/boost/thread/csbl/deque.hpp
passenger-6.0.6 src/cxx_supportlib/vendor-modified/boost/thread/csbl/deque.hpp
passenger-6.0.5 src/cxx_supportlib/vendor-modified/boost/thread/csbl/deque.hpp
passenger-6.0.4 src/cxx_supportlib/vendor-modified/boost/thread/csbl/deque.hpp
passenger-6.0.3 src/cxx_supportlib/vendor-modified/boost/thread/csbl/deque.hpp
passenger-6.0.2 src/cxx_supportlib/vendor-modified/boost/thread/csbl/deque.hpp
passenger-6.0.1 src/cxx_supportlib/vendor-modified/boost/thread/csbl/deque.hpp