Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Core Modules
dune-common
Commits
2ae63147
Commit
2ae63147
authored
2 years ago
by
Christoph Grüninger
Browse files
Options
Downloads
Patches
Plain Diff
[cleanup] Remove deprecated dune/common/std/variant.hh
parent
126b2aa2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1214
First round of post 2.9 removal of deprecated code
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG.md
+2
-0
2 additions, 0 deletions
CHANGELOG.md
dune/common/std/CMakeLists.txt
+0
-1
0 additions, 1 deletion
dune/common/std/CMakeLists.txt
dune/common/std/variant.hh
+0
-26
0 additions, 26 deletions
dune/common/std/variant.hh
with
2 additions
and
27 deletions
CHANGELOG.md
+
2
−
0
View file @
2ae63147
...
...
@@ -57,6 +57,8 @@ In order to build the DUNE core modules you need at least the following software
objects and
`std::function`
stuff instead!
-
The deprecated header
`dune/common/std/utility.hh`
has been removed. Use
`<utility>`
instead.
-
The deprecated header
`dune/common/std/variant.hh`
has been removed. Use
`<variant>`
instead.
# Release 2.9
...
...
This diff is collapsed.
Click to expand it.
dune/common/std/CMakeLists.txt
+
0
−
1
View file @
2ae63147
...
...
@@ -7,5 +7,4 @@ install(
functional.hh
make_array.hh
type_traits.hh
variant.hh
DESTINATION
${
CMAKE_INSTALL_INCLUDEDIR
}
/dune/common/std
)
This diff is collapsed.
Click to expand it.
dune/common/std/variant.hh
deleted
100644 → 0
+
0
−
26
View file @
126b2aa2
// -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
// vi: set et ts=4 sw=2 sts=2:
// SPDX-FileCopyrightInfo: Copyright © DUNE Project contributors, see file LICENSE.md in module root
// SPDX-License-Identifier: LicenseRef-GPL-2.0-only-with-DUNE-exception
#ifndef DUNE_COMMON_STD_VARIANT_HH
#define DUNE_COMMON_STD_VARIANT_HH
#warning dune/common/std/variant.hh is deprecated and will be removed after Dune 2.8.\
Include <variant> instead
#include
<variant>
namespace
Dune
{
namespace
Std
{
using
std
::
variant
;
using
std
::
visit
;
using
std
::
variant_size
;
using
std
::
variant_size_v
;
using
std
::
get
;
using
std
::
get_if
;
using
std
::
holds_alternative
;
using
std
::
monostate
;
}
}
#endif
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment