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

42 lines
858 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_DEFAULT_DELETE_HPP
#define ACTIV_BOOST_CSBL_MEMORY_DEFAULT_DELETE_HPP
#include <ActivBoost/thread/csbl/memory/config.hpp>
// 20.8.1 class template unique_ptr:
// default_delete
#if defined ACTIV_BOOST_NO_CXX11_SMART_PTR
#include <ActivBoost/move/unique_ptr.hpp>
namespace Boost
{
namespace csbl
{
using ::Boost::movelib::default_delete;
}
}
#else
namespace Boost
{
namespace csbl
{
using ::std::default_delete;
}
}
#endif // defined ACTIV_BOOST_NO_CXX11_SMART_PTR
namespace Boost
{
using ::Boost::csbl::default_delete;
}
#endif // header