3-phase PV router
Loading...
Searching...
No Matches
remove_cv.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
7template< typename T >
8struct remove_cv {
9 using type = T;
10};
11template< typename T >
12struct remove_cv<const T> {
13 using type = T;
14};
15template< typename T >
16struct remove_cv<volatile T> {
17 using type = T;
18};
19template <typename T>
20struct remove_cv<const volatile T> {
21 using type = T;
22};
23template< typename T >
25
typename remove_cv< T >::type remove_cv_t
Definition: remove_cv.hpp:24