Return std::move(t) if t_TYPE is move constructible, and a reference to t otherwise.
Declared in <bslmf_util.h>
template<class t_TYPE>
constexpr
static
bsl::remove_reference<t_T>::type&&
moveIfSupported(t_TYPE&& t) noexcept;
an rvalue reference to t
| Name | Description |
|---|---|
| t | object to move if rvalue references are supported |