diff options
author | Benji Dial <benji@benjidial.net> | 2024-05-20 17:40:47 -0400 |
---|---|---|
committer | Benji Dial <benji@benjidial.net> | 2024-05-20 17:40:47 -0400 |
commit | 9af5588c30c4126a2800aae1afcb0de2c373dc6c (patch) | |
tree | d2a48a97b1664f958b5f88a8b0c03ef8366b0f49 /euler/include/utility | |
parent | 5a54df93c4e9368c36e69d1e9c88cd2904e92308 (diff) | |
download | hilbert-os-9af5588c30c4126a2800aae1afcb0de2c373dc6c.tar.gz |
rewrite application stuff in the kernel to support multitasking
Diffstat (limited to 'euler/include/utility')
-rw-r--r-- | euler/include/utility | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/euler/include/utility b/euler/include/utility new file mode 100644 index 0000000..23648c4 --- /dev/null +++ b/euler/include/utility @@ -0,0 +1,12 @@ +#pragma once + +#include <type_traits> + +namespace std { + + template <class t> + constexpr std::remove_reference_t<t> &&move(t &&x) { + return static_cast<std::remove_reference_t<t> &&>(x); + } + +} |