|
dune-common 2.12-git
|
Loading...
Searching...
No Matches
default_accessor.hh
Go to the documentation of this file.
3// SPDX-FileCopyrightInfo: Copyright © DUNE Project contributors, see file LICENSE.md in module root
STL namespace.
A type for indexed access to elements of mdspan.
Definition default_accessor.hh:24
element_type * data_handle_type
Definition default_accessor.hh:27
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
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8