tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
type_identity.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2// SPDX-FileCopyrightText: Copyright (C) 2019 Tobias Hienzsch
3
4#ifndef TETL_TYPE_TRAITS_TYPE_IDENTITY_HPP
5#define TETL_TYPE_TRAITS_TYPE_IDENTITY_HPP
6
7namespace etl {
8
9/// \ingroup type_traits
10template <typename T>
12 using type = T;
13};
14
15/// \ingroup type_traits
16template <typename T>
17using type_identity_t = typename type_identity<T>::type;
18
19} // namespace etl
20
21#endif // TETL_TYPE_TRAITS_TYPE_IDENTITY_HPP
Definition adjacent_find.hpp:9
Definition type_identity.hpp:11