dune-common 2.8.0
Loading...
Searching...
No Matches
variant.hh
Go to the documentation of this file.
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;
17 using std::get;
18 using std::get_if;
20 using std::monostate;
21}
22}
23
24#endif
Dune namespace.
Definition alignedallocator.hh:11
T get_if(T... args)
T holds_alternative(T... args)
T visit(T... args)