Remove uses of BOOST_NO_CXX11_SMART_PTR

This commit is contained in:
Peter Dimov
2024-09-25 02:45:57 +03:00
parent ce308f21e8
commit 314267a5f7
26 changed files with 35 additions and 268 deletions

View File

@@ -5,12 +5,9 @@ Copyright 2019 Glen Joseph Fernandes
Distributed under the Boost Software License, Version 1.0.
(http://www.boost.org/LICENSE_1_0.txt)
*/
#include <boost/config.hpp>
#if (!defined(BOOST_LIBSTDCXX_VERSION) || \
BOOST_LIBSTDCXX_VERSION >= 48000) && \
!defined(BOOST_NO_CXX11_SMART_PTR)
#include <boost/smart_ptr/allocate_unique.hpp>
#include <boost/core/lightweight_test.hpp>
#include <boost/config.hpp>
template<class T = void>
struct creator {
@@ -124,9 +121,3 @@ int main()
}
return boost::report_errors();
}
#else
int main()
{
return 0;
}
#endif