Dune Core Modules (unstable)
default_accessor.hh
3// SPDX-FileCopyrightInfo: Copyright © DUNE Project contributors, see file LICENSE.md in module root
A type for indexed access to elements of mdspan.
Definition: default_accessor.hh:24
constexpr default_accessor() noexcept=default
Default constructor.
constexpr reference access(data_handle_type p, std::size_t i) const noexcept
Return a reference to the i'th element in the data range starting at p
Definition: default_accessor.hh:42
constexpr data_handle_type offset(data_handle_type p, std::size_t i) const noexcept
Return a data handle to the i'th element in the data range starting at p
Definition: default_accessor.hh:48
Namespace for features backported from new C++ standards.
Definition: default_accessor.hh:10
STL namespace.
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Dec 21, 23:30, 2024)