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// SPDX-FileCopyrightText: Copyright (C) 2023 Tobias Hienzsch
3
4#ifndef TETL_MDSPAN_IS_EXTENTS_HPP
5#define TETL_MDSPAN_IS_EXTENTS_HPP
6
7#include <etl/_cstddef/size_t.hpp>
8
9namespace etl {
10
11template <typename IndexType, size_t... Extents>
12struct extents;
13
14namespace detail {
15template <typename T>
16inline constexpr auto is_extents = false;
17
18template <typename IndexType, size_t... Extents>
19inline constexpr auto is_extents<extents<IndexType, Extents...>> = true;
20} // namespace detail
21
22} // namespace etl
23
24#endif // TETL_MDSPAN_IS_EXTENTS_HPP
Definition adjacent_find.hpp:9
Definition extents.hpp:23