mirror of
https://github.com/RawAccelOfficial/rawaccel.git
synced 2025-05-11 18:36:46 +02:00
use callbacks for applying accel
This commit is contained in:
parent
2bfe95fb4e
commit
d8140fb31b
7 changed files with 113 additions and 66 deletions
|
@ -85,4 +85,11 @@ namespace rawaccel {
|
|||
template <typename... Ts>
|
||||
constexpr void operator()(Ts&&...) const noexcept {}
|
||||
};
|
||||
|
||||
template <typename T> struct remove_ref { using type = T; };
|
||||
template <typename T> struct remove_ref<T&> { using type = T; };
|
||||
template <typename T> struct remove_ref<T&&> { using type = T; };
|
||||
|
||||
template <typename T>
|
||||
using remove_ref_t = typename remove_ref<T>::type;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue