dune-common  2.11
iterator.hh
Go to the documentation of this file.
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>
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
Namespace for features backported from new C++ standards.
Definition: algorithm.hh:19
concept indirectly_copyable
The std::indirectly_copyable concept specifies the relationship between an indirectly_readable type a...
Definition: iterator.hh:22