1
0
forked from boostorg/core

Add noinit_adapt() free function utility

This commit is contained in:
Glen Fernandes
2019-04-29 00:23:59 -04:00
parent 50491408b1
commit a0e1100421
3 changed files with 47 additions and 39 deletions

View File

@@ -91,6 +91,13 @@ operator!=(const noinit_adaptor<T>& lhs,
return !(lhs == rhs);
}
template<class A>
inline noinit_adaptor<A>
noinit_adapt(const A& a) BOOST_NOEXCEPT
{
return noinit_adaptor<A>(a);
}
} /* boost */
#endif