Dune Core Modules (2.8.0)

variant.hh
1// -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2// vi: set et ts=4 sw=2 sts=2:
3#ifndef DUNE_COMMON_STD_VARIANT_HH
4#define DUNE_COMMON_STD_VARIANT_HH
5
6#warning dune/common/std/variant.hh is deprecated and will be removed after Dune 2.8.\
7 Include <variant> instead
8
9#include <variant>
10
11namespace Dune {
12namespace Std {
13 using std::variant;
14 using std::visit;
15 using std::variant_size;
16 using std::variant_size_v;
17 using std::get;
18 using std::get_if;
19 using std::holds_alternative;
20 using std::monostate;
21}
22}
23
24#endif
Dune namespace.
Definition: alignedallocator.hh:11
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 22, 23:33, 2024)