move_if_noexcept overloads
Declared in <bslmf_movableref.h>
Return a const-qualified reference to the specified lvalue.
template<class t_TYPE>
static
t_TYPE const&
move_if_noexcept(t_TYPE& lvalue) noexcept
requires !bsl::is_nothrow_move_constructible<t_TYPE>::value &&
bsl::is_copy_constructible<t_TYPE>::value;
» more...
Return a movable reference to the specified lvalue.
template<class t_TYPE>
static
MovableRef<t_TYPE>
move_if_noexcept(t_TYPE& lvalue) noexcept
requires !bsl::is_copy_constructible<t_TYPE>::value ||
bsl::is_nothrow_move_constructible<t_TYPE>::value;
» more...
lvaluelvalue| Name | Description |
|---|---|
| lvalue | object to which a const reference is returned |