tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
remove_all_extents.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2
3#ifndef TETL_TYPE_TRAITS_REMOVE_ALL_EXTENTS_HPP
4#define TETL_TYPE_TRAITS_REMOVE_ALL_EXTENTS_HPP
5
7
8namespace etl {
9
13template <typename T>
15 using type = T;
16};
17
18template <typename T>
19struct remove_all_extents<T[]> {
21};
22
23template <typename T, size_t N>
24struct remove_all_extents<T[N]> {
26};
27
28template <typename T>
30
31} // namespace etl
32
33#endif // TETL_TYPE_TRAITS_REMOVE_ALL_EXTENTS_HPP
Definition adjacent_find.hpp:8
typename remove_all_extents< T >::type remove_all_extents_t
Definition remove_all_extents.hpp:29
typename remove_all_extents< T >::type type
Definition remove_all_extents.hpp:25
typename remove_all_extents< T >::type type
Definition remove_all_extents.hpp:20
If T is a multidimensional array of some type X, provides the member typedef type equal to X,...
Definition remove_all_extents.hpp:14
T type
Definition remove_all_extents.hpp:15