DUNE
Distributed and Unified Numerics Environment
Dune Core Modules (2.9.1)
dune
common
std
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
// SPDX-FileCopyrightInfo: Copyright (C) DUNE Project contributors, see file LICENSE.md in module root
4
// SPDX-License-Identifier: LicenseRef-GPL-2.0-only-with-DUNE-exception
5
#ifndef DUNE_COMMON_STD_VARIANT_HH
6
#define DUNE_COMMON_STD_VARIANT_HH
7
8
#warning dune/common/std/variant.hh is deprecated and will be removed after Dune 2.8.\
9
Include <variant> instead
10
11
#include <variant>
12
13
namespace
Dune
{
14
namespace
Std {
15
using
std::variant;
16
using
std::visit;
17
using
std::variant_size;
18
using
std::variant_size_v;
19
using
std::get;
20
using
std::get_if;
21
using
std::holds_alternative;
22
using
std::monostate;
23
}
24
}
25
26
#endif
Dune
Dune namespace.
Definition:
alignedallocator.hh:13
|
Legal Statements / Impressum
| Hosted by
TU Dresden
&
Uni Heidelberg
| generated with Hugo v0.111.3 (Sep 1, 22:41, 2025)