Arene Base
Fundamental Utilities For Safety Critical C++
Loading...
Searching...
No Matches
is_sliceable_mapping.hpp
Go to the documentation of this file.
1// Copyright 2026, Toyota Motor Corporation
2//
3// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
4
5#ifndef INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_MDSPAN_IS_SLICEABLE_MAPPING_HPP_
6#define INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_MDSPAN_IS_SLICEABLE_MAPPING_HPP_
7
8namespace arene {
9namespace base {
10namespace submdspan_detail {
11
12/// @brief Helper trait that indicates whether a layout mapping type supports @c submdspan
13///
14/// Defaults to @c false; specialized to @c true in each layout header for
15/// @c layout_left::mapping, @c layout_right::mapping, and @c layout_stride::mapping.
16/// @tparam LayoutMapping the layout mapping type under test
17template <class LayoutMapping>
18extern constexpr bool is_sliceable_mapping_v = false;
19
20} // namespace submdspan_detail
21} // namespace base
22} // namespace arene
23
24#endif // INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_MDSPAN_IS_SLICEABLE_MAPPING_HPP_
Definition array_exceptions_disabled.cpp:11
Copyright 2026, Toyota Motor Corporation.
Definition array_exceptions_disabled.cpp:10