3-phase PV router
Loading...
Searching...
No Matches
Mk2_3phase_RFdatalog_temp
type_traits
remove_reference.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 reference modifier.
8
template
<
typename
T >
9
struct
remove_reference
{
10
using
type
= T;
11
};
12
template
<
typename
T >
13
struct
remove_reference
<T&> {
14
using
type
= T;
15
};
16
17
template
<
typename
T>
18
using
remove_reference_t
=
typename
remove_reference<T>::type
;
remove_reference_t
typename remove_reference< T >::type remove_reference_t
Definition:
remove_reference.hpp:18
remove_reference< T & >::type
T type
Definition:
remove_reference.hpp:14
remove_reference
Definition:
remove_reference.hpp:9
remove_reference::type
T type
Definition:
remove_reference.hpp:10
Generated by
1.9.6