3-phase PV router
Loading...
Searching...
No Matches
Mk2_3phase_RFdatalog_temp
type_traits
make_unsigned.hpp
Go to the documentation of this file.
1
// ArduinoJson - https://arduinojson.org
2
// Copyright © 2014-2024, Benoit BLANCHON
3
// MIT License
4
5
#pragma once
6
7
#include "
type_identity.hpp
"
8
9
template
<
typename
T >
10
struct
make_unsigned
;
11
12
template
<>
13
struct
make_unsigned
<char> :
type_identity
<unsigned char> {};
14
15
template
<>
16
struct
make_unsigned
<signed char> :
type_identity
<unsigned char> {};
17
template
<>
18
struct
make_unsigned
<unsigned char> :
type_identity
<unsigned char> {};
19
20
template
<>
21
struct
make_unsigned
<signed short> :
type_identity
<unsigned short> {};
22
template
<>
23
struct
make_unsigned
<unsigned short> :
type_identity
<unsigned short> {};
24
25
template
<>
26
struct
make_unsigned
<signed int> :
type_identity
<unsigned int> {};
27
template
<>
28
struct
make_unsigned
<unsigned int> :
type_identity
<unsigned int> {};
29
30
template
<>
31
struct
make_unsigned
<signed long> :
type_identity
<unsigned long> {};
32
template
<>
33
struct
make_unsigned
<unsigned long> :
type_identity
<unsigned long> {};
34
35
template
<>
36
struct
make_unsigned
<signed long long> :
type_identity
<unsigned long long> {};
37
template
<>
38
struct
make_unsigned
<unsigned long long> :
type_identity
<unsigned long long> {};
39
40
template
<
typename
T>
41
using
make_unsigned_t
=
typename
make_unsigned<T>::type
;
42
make_unsigned_t
typename make_unsigned< T >::type make_unsigned_t
Definition:
make_unsigned.hpp:41
make_unsigned
Definition:
make_unsigned.hpp:10
type_identity
Definition:
type_identity.hpp:10
type_identity.hpp
Generated by
1.9.6