DUNE
Distributed and Unified Numerics Environment
DUNE PDELab (git)
dune
common
std
iterator.hh
1
// SPDX-FileCopyrightText: Copyright © DUNE Project contributors, see file LICENSE.md in module root
2
// SPDX-License-Identifier: LicenseRef-GPL-2.0-only-with-DUNE-exception
3
// -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
4
// vi: set et ts=4 sw=2 sts=2:
5
#ifndef DUNE_COMMON_STD_ITERATOR_HH
6
#define DUNE_COMMON_STD_ITERATOR_HH
7
8
#include <concepts>
9
#include <iterator>
10
11
namespace
Dune::Std
{
12
21
template
<
class
In,
class
Out>
22
concept
indirectly_copyable
=
23
std::indirectly_readable<In> &&
24
std::indirectly_writable<Out, std::iter_reference_t<In>>;
25
26
}
// end namespace Dune::Std
27
28
#endif
// DUNE_COMMON_STD_ITERATOR_HH
Dune::Std::indirectly_copyable
The std::indirectly_copyable concept specifies the relationship between an indirectly_readable type a...
Definition:
iterator.hh:22
Dune::Std
Namespace for features backported from new C++ standards.
Definition:
algorithm.hh:19
|
Legal Statements / Impressum
| Hosted by
TU Dresden
| generated with Hugo v0.111.3 (Jan 8, 23:30, 2025)