feat: update step
This commit is contained in:
parent
024407225c
commit
5b0cc28bc8
2 changed files with 34 additions and 26 deletions
|
|
@ -18,6 +18,11 @@ struct remove_reference<T&&> {
|
|||
template<typename T>
|
||||
using remove_reference_t = typename remove_reference<T>::type;
|
||||
|
||||
template<typename T>
|
||||
inline constexpr bool is_void_v = false;
|
||||
template<>
|
||||
inline constexpr bool is_void_v<void> = true;
|
||||
|
||||
template<typename T>
|
||||
constexpr remove_reference_t<T>&& move(T&& value) {
|
||||
return static_cast<remove_reference_t<T>&&>(value);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue