function template
std::move_if_noexcept
- Header
<utility>- Draft
- [forward]
- Scope
std- cppreference
- std::move_if_noexcept
Synopsis
template<class T>
constexpr conditional_t<!is_nothrow_constructible_v<T, T &&> && is_constructible_v<T, const T &>, const T&, T&&> move_if_noexcept(
T& x) noexcept;