forked from boostorg/core
Update documentation and conditionally include headers in noinit_adaptor.hpp
This commit is contained in:
@ -81,6 +81,9 @@ template<class T, class U>
|
||||
bool operator!=(const noinit_adaptor<T>& lhs,
|
||||
const noinit_adaptor<U>& rhs) noexcept;
|
||||
|
||||
template<class A>
|
||||
noinit_adaptor<A> noinit_adapt(const A& a) noexcept;
|
||||
|
||||
} /* boost */
|
||||
```
|
||||
|
||||
|
@ -9,9 +9,13 @@ Distributed under the Boost Software License, Version 1.0.
|
||||
#define BOOST_CORE_NOINIT_ADAPTOR_HPP
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#if !defined(BOOST_NO_CXX11_ALLOCATOR)
|
||||
#include <memory>
|
||||
#endif
|
||||
#include <new>
|
||||
#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
|
||||
#include <utility>
|
||||
#endif
|
||||
|
||||
namespace boost {
|
||||
|
||||
|
@ -6,8 +6,8 @@ Distributed under the Boost Software License, Version 1.0.
|
||||
(http://www.boost.org/LICENSE_1_0.txt)
|
||||
*/
|
||||
#include <boost/core/default_allocator.hpp>
|
||||
#include <boost/core/noinit_adaptor.hpp>
|
||||
#include <boost/core/lightweight_test.hpp>
|
||||
#include <boost/core/noinit_adaptor.hpp>
|
||||
#include <vector>
|
||||
|
||||
template<class T>
|
||||
|
Reference in New Issue
Block a user