Speeduino
Loading...
Searching...
No Matches
type_traits.h
Go to the documentation of this file.
1
6#pragma once
7
8#include <stdint.h>
9
10namespace type_traits {
11
12 // std::remove_reference. See https://en.cppreference.com/w/cpp/types/remove_reference.html
13 template <typename T>
15 using type = T;
16 };
17 template <typename T>
19 using type = T;
20 };
21 template <typename T>
22 struct remove_reference<T&&> {
23 using type = T;
24 };
25
26}
static TIntegral readSerialIntegralTimeout(void)
Reads an integral type, timing out if necessary.
Definition comms.cpp:175
Definition type_traits.h:10
T type
Definition type_traits.h:19
T type
Definition type_traits.h:23
Definition type_traits.h:14
T type
Definition type_traits.h:15