Arene Base
Fundamental Utilities For Safety Critical C++
Loading...
Searching...
No Matches
full_extent.hpp
Go to the documentation of this file.
1// parasoft-begin-suppress AUTOSAR-A2_8_1-a "False positive: also defines arene::base::full_extent"
2
3// Copyright 2026, Toyota Motor Corporation
4//
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
7#ifndef INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_MDSPAN_FULL_EXTENT_HPP_
8#define INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_MDSPAN_FULL_EXTENT_HPP_
9
11
12namespace arene {
13namespace base {
14
15// parasoft-begin-suppress AUTOSAR-A2_7_3-a "False positive: Declaration *is* preceeded by the @brief tag."
16/// @brief tag class specifying the full extent of an mdspan
17///
19 public:
20 /// @brief explicit default constructor
21 explicit full_extent_t() = default;
22};
23// parasoft-end-suppress AUTOSAR-A2_7_3-a
24
25// parasoft-begin-suppress CERT_CPP-DCL56-a "False positive: variables are initialized"
26// parasoft-begin-suppress AUTOSAR-M3_4_1-b "This is a per-TU reference to a global used in multiple TUs"
27// parasoft-begin-suppress AUTOSAR-M7_3_3-a "An unnamed namespace is used to create a per-TU reference to a global
28// object used in multiple TUs."
29// parasoft-begin-suppress CERT_CPP-DCL59-a "An unnamed namespace is used to create a per-TU reference to a global
30// object used in multiple TUs."
31/// @brief tag specifying the full extent of an mdspan
32///
33/// @c full_extent is a disambiguation tag that can be passed to @c submdspan to
34/// maintain the full range of indices in the returned @c mdspan for a specific
35/// dimension.
36///
37/// @relates full_extent_t
38/// @see full_extent_t
40
41// parasoft-end-suppress CERT_CPP-DCL56-a
42// parasoft-end-suppress AUTOSAR-M3_4_1-b
43// parasoft-end-suppress AUTOSAR-M7_3_3-a
44// parasoft-end-suppress CERT_CPP-DCL59-a
45
46} // namespace base
47} // namespace arene
48
49#endif // INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_MDSPAN_FULL_EXTENT_HPP_
tag class specifying the full extent of an mdspan
Definition full_extent.hpp:18
full_extent_t()=default
explicit default constructor
#define ARENE_CPP14_INLINE_VARIABLE(type, name)
Emulates C++17's inline variable declarations for function objects.
Definition cpp14_inline.hpp:69
Definition accumulate.hpp:37
Definition accumulate.hpp:36