Luna/kernel/include/utils/move.h
apio e0aa552fae Kernel: Add a move() function
The standard C++ move() function.
2022-10-14 19:04:56 +02:00

6 lines
92 B
C++

#pragma once
template <typename T> inline T&& move(T& lvalue)
{
return (T &&) lvalue;
}