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-2024, 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
15template<>
16struct make_unsigned<signed char> : type_identity<unsigned char> {};
17template<>
18struct make_unsigned<unsigned char> : type_identity<unsigned char> {};
19
20template<>
21struct make_unsigned<signed short> : type_identity<unsigned short> {};
22template<>
23struct make_unsigned<unsigned short> : type_identity<unsigned short> {};
24
25template<>
26struct make_unsigned<signed int> : type_identity<unsigned int> {};
27template<>
28struct make_unsigned<unsigned int> : type_identity<unsigned int> {};
29
30template<>
31struct make_unsigned<signed long> : type_identity<unsigned long> {};
32template <>
33struct make_unsigned<unsigned long> : type_identity<unsigned long> {};
34
35template <>
36struct make_unsigned<signed long long> : type_identity<unsigned long long> {};
37template <>
38struct make_unsigned<unsigned long long> : type_identity<unsigned long long> {};
39
40template <typename T>
42
typename make_unsigned< T >::type make_unsigned_t