dune-common  2.8.0
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 
11 namespace Dune {
12 namespace 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
Reference get(const RAPropertyMapHelper< Reference, PropertyMap > &pmap, const Key &key)
Definition: propertymap.hh:82