annotate DEPENDENCIES/generic/include/boost/thread/csbl/memory/shared_ptr.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) 2014 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 // 2014/10 Vicente J. Botet Escriba
Chris@102 7 // Creation.
Chris@102 8
Chris@102 9 #ifndef BOOST_CSBL_MEMORY_SHARED_PTR_HPP
Chris@102 10 #define BOOST_CSBL_MEMORY_SHARED_PTR_HPP
Chris@102 11
Chris@102 12 #include <boost/thread/csbl/memory/config.hpp>
Chris@102 13
Chris@102 14 #if defined BOOST_NO_CXX11_SMART_PTR
Chris@102 15
Chris@102 16 #include <boost/smart_ptr/shared_ptr.hpp>
Chris@102 17 #include <boost/smart_ptr/make_shared.hpp>
Chris@102 18
Chris@102 19 namespace boost
Chris@102 20 {
Chris@102 21 namespace csbl
Chris@102 22 {
Chris@102 23 using ::boost::shared_ptr;
Chris@102 24 using ::boost::make_shared;
Chris@102 25 }
Chris@102 26 }
Chris@102 27
Chris@102 28 #else
Chris@102 29
Chris@102 30 #include <boost/shared_ptr.hpp>
Chris@102 31
Chris@102 32 namespace boost
Chris@102 33 {
Chris@102 34 namespace csbl
Chris@102 35 {
Chris@102 36 using std::shared_ptr;
Chris@102 37 using std::make_shared;
Chris@102 38 }
Chris@102 39 }
Chris@102 40
Chris@102 41 #endif
Chris@102 42 #endif // header