Speeduino
Loading...
Searching...
No Matches
type_traits.h
Go to the documentation of this file.
1
6#pragma once
7
8namespace type_traits {
9
10 // std::remove_reference. See https://en.cppreference.com/w/cpp/types/remove_reference.html
11 template <typename T>
13 using type = T;
14 };
15 template <typename T>
17 using type = T;
18 };
19 template <typename T>
20 struct remove_reference<T&&> {
21 using type = T;
22 };
23
24}
static uint32_t rshift(uint32_t a)
Bitwise right shift - generic, unoptimized, case.
Definition bit_shifts.h:348
Definition type_traits.h:8
T type
Definition type_traits.h:17
T type
Definition type_traits.h:21
Definition type_traits.h:12
T type
Definition type_traits.h:13