tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
is_extents.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2
3#ifndef TETL_MDSPAN_IS_EXTENTS_HPP
4#define TETL_MDSPAN_IS_EXTENTS_HPP
5
7
8namespace etl {
9
10template <typename IndexType, size_t... Extents>
11struct extents;
12
13namespace detail {
14template <typename T>
15inline constexpr auto is_extents = false;
16
17template <typename IndexType, size_t... Extents>
18inline constexpr auto is_extents<extents<IndexType, Extents...>> = true;
19} // namespace detail
20
21} // namespace etl
22
23#endif // TETL_MDSPAN_IS_EXTENTS_HPP
Definition adjacent_find.hpp:8
extents(Integrals...) -> extents< etl::size_t, etl::size_t((Integrals(), etl::dynamic_extent))... >
Definition extents.hpp:22