3-phase PV router
Loading...
Searching...
No Matches
remove_const.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// A meta-function that return the type T without the const modifier
8template< typename T >
10 using type = T;
11};
12template< typename T >
13struct remove_const<const T> {
14 using type = T;
15};
16
17template <typename T>
19
typename remove_const< T >::type remove_const_t