ardupilot/libraries/AP_Common/missing/utility

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
309 B
Plaintext
Raw Normal View History

#pragma once
#include_next <utility>
#if defined(HAVE_STD_MOVE) && !HAVE_STD_MOVE
#include <type_traits>
namespace std {
template<class T>
typename std::remove_reference<T>::type&& move(T&& t) noexcept
{
return static_cast<typename std::remove_reference<T>::type&&>(t);
}
}
#endif