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
011a8abb
Commit
011a8abb
authored
2 years ago
by
Christoph Grüninger
Browse files
Options
Downloads
Patches
Plain Diff
[cleanup] Remove deprecated type_traits conjunction, disjunction, negation
parent
c95d3920
Branches
Branches containing commit
No related tags found
1 merge request
!1214
First round of post 2.9 removal of deprecated code
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+2
-0
2 additions, 0 deletions
CHANGELOG.md
dune/common/std/type_traits.hh
+0
-49
0 additions, 49 deletions
dune/common/std/type_traits.hh
with
2 additions
and
49 deletions
CHANGELOG.md
+
2
−
0
View file @
011a8abb
...
...
@@ -61,6 +61,8 @@ In order to build the DUNE core modules you need at least the following software
instead.
-
The deprecated header
`dune/common/to_unique_ptr.hh`
has been removed. Use
`std::unique_ptr`
or
`std::shared_ptr`
instead.
-
Deprecated
`conjunction`
,
`disjunction`
, and
`negation`
have been removed. Instead,
use the structs from
`<type_traits>`
introduced with C++17.
# Release 2.9
...
...
This diff is collapsed.
Click to expand it.
dune/common/std/type_traits.hh
+
0
−
49
View file @
011a8abb
...
...
@@ -233,55 +233,6 @@ namespace Std
#endif // DUNE_HAVE_CXX_EXPERIMENTAL_IS_DETECTED
// conjunction
// -----------
/**
* \brief forms the logical conjunction of the type traits B...
*
* \note This functionality is part of the C++17 standard.
*
* \ingroup CxxUtilities
**/
template
<
class
...
B
>
struct
[[
deprecated
(
"Will be removed after release 2.8. Use std::conjunction instead."
)]]
conjunction
:
std
::
conjunction
<
B
...
>
{};
// disjunction
// -----------
/**
* \brief forms the logical disjunction of the type traits B...
*
* \note This functionality is part of the C++17 standard.
*
* \ingroup CxxUtilities
**/
template
<
class
...
B
>
struct
[[
deprecated
(
"Will be removed after release 2.8. Use std::disjunction instead."
)]]
disjunction
:
std
::
disjunction
<
B
...
>
{};
// negation
// --------
/**
* \brief forms the logical negation of the type traits B...
*
* \note This functionality is part of the C++17 standard.
*
* \ingroup CxxUtilities
**/
template
<
class
B
>
struct
[[
deprecated
(
"Will be removed after release 2.8. Use std::negation instead."
)]]
negation
:
std
::
negation
<
B
>
{};
}
// namespace Std
...
...
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