3-phase PV router
Loading...
Searching...
No Matches
make_unsigned.hpp
Go to the documentation of this file.
1// ArduinoJson - https://arduinojson.org
2// Copyright © 2014-2023, Benoit BLANCHON
3// MIT License
4
5#pragma once
6
7#include "type_identity.hpp"
8
9template< typename T >
11
12template<>
13struct make_unsigned< char > : type_identity< unsigned char >
14{
15};
16
17template<>
18struct make_unsigned< signed char > : type_identity< unsigned char >
19{
20};
21template<>
22struct make_unsigned< unsigned char > : type_identity< unsigned char >
23{
24};
25
26template<>
27struct make_unsigned< signed short > : type_identity< unsigned short >
28{
29};
30template<>
31struct make_unsigned< unsigned short > : type_identity< unsigned short >
32{
33};
34
35template<>
36struct make_unsigned< signed int > : type_identity< unsigned int >
37{
38};
39template<>
40struct make_unsigned< unsigned int > : type_identity< unsigned int >
41{
42};
43
44template<>
45struct make_unsigned< signed long > : type_identity< unsigned long >
46{
47};
48template<>
49struct make_unsigned< unsigned long > : type_identity< unsigned long >
50{
51};
52
53template<>
54struct make_unsigned< signed long long > : type_identity< unsigned long long >
55{
56};
57template<>
58struct make_unsigned< unsigned long long > : type_identity< unsigned long long >
59{
60};