Files
externals/linux/include/ActivBoost/thread/csbl/memory/pointer_traits.hpp
T
2023-12-15 13:15:08 -05:00

36 lines
771 B
C++

// 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 ACTIV_BOOST_CSBL_MEMORY_POINTER_TRAITS_HPP
#define ACTIV_BOOST_CSBL_MEMORY_POINTER_TRAITS_HPP
#include <ActivBoost/thread/csbl/memory/config.hpp>
// 20.7.3, pointer traits
#if defined ACTIV_BOOST_NO_CXX11_ALLOCATOR
#include <ActivBoost/intrusive/pointer_traits.hpp>
namespace Boost
{
namespace csbl
{
using ::Boost::intrusive::pointer_traits;
}
}
#else
namespace Boost
{
namespace csbl
{
using ::std::pointer_traits;
}
}
#endif // ACTIV_BOOST_NO_CXX11_ALLOCATOR
#endif // header