/usr/include/boost/core
NameSizeModeActions
addressof.hpp61530644editdlrm
allocator_access.hpp159440644editdlrm
alloc_construct.hpp34360644editdlrm
checked_delete.hpp16770644editdlrm
default_allocator.hpp33330644editdlrm
demangle.hpp30340644editdlrm
empty_value.hpp33240644editdlrm
enable_if.hpp33150644editdlrm
exchange.hpp9110644editdlrm
explicit_operator_bool.hpp53540644editdlrm
first_scalar.hpp8130644editdlrm
ignore_unused.hpp19760644editdlrm
is_same.hpp7930644editdlrm
lightweight_test.hpp184430644editdlrm
lightweight_test_trait.hpp39730644editdlrm
noinit_adaptor.hpp17910644editdlrm
noncopyable.hpp19110644editdlrm
no_exceptions_support.hpp18720644editdlrm
null_deleter.hpp12320644editdlrm
nvp.hpp10000644editdlrm
pointer_traits.hpp50720644editdlrm
quick_exit.hpp10980644editdlrm
ref.hpp59760644editdlrm
scoped_enum.hpp78800644editdlrm
swap.hpp21230644editdlrm
typeinfo.hpp31510644editdlrm
uncaught_exceptions.hpp68190644editdlrm
underlying_type.hpp22050644editdlrm
use_default.hpp3000644editdlrm
Edit: /usr/include/boost/core/noinit_adaptor.hpp (1791B)
/* Copyright 2019 Glen Joseph Fernandes (glenjofe@gmail.com) Distributed under the Boost Software License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) */ #ifndef BOOST_CORE_NOINIT_ADAPTOR_HPP #define BOOST_CORE_NOINIT_ADAPTOR_HPP #include namespace boost { template struct noinit_adaptor : A { template struct rebind { typedef noinit_adaptor::type> other; }; noinit_adaptor() : A() { } #if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) template noinit_adaptor(U&& u) BOOST_NOEXCEPT : A(std::forward(u)) { } #else template noinit_adaptor(const U& u) BOOST_NOEXCEPT : A(u) { } template noinit_adaptor(U& u) BOOST_NOEXCEPT : A(u) { } #endif template noinit_adaptor(const noinit_adaptor& u) BOOST_NOEXCEPT : A(static_cast(u)) { } template void construct(U* p) { ::new((void*)p) U; } #if defined(BOOST_NO_CXX11_ALLOCATOR) template void construct(U* p, const V& v) { ::new((void*)p) U(v); } #endif template void destroy(U* p) { p->~U(); } }; template inline bool operator==(const noinit_adaptor& lhs, const noinit_adaptor& rhs) BOOST_NOEXCEPT { return static_cast(lhs) == static_cast(rhs); } template inline bool operator!=(const noinit_adaptor& lhs, const noinit_adaptor& rhs) BOOST_NOEXCEPT { return !(lhs == rhs); } template inline noinit_adaptor noinit_adapt(const A& a) BOOST_NOEXCEPT { return noinit_adaptor(a); } } /* boost */ #endif