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
8da126a1
Commit
8da126a1
authored
6 months ago
by
Simon Praetorius
Browse files
Options
Downloads
Patches
Plain Diff
Deprecate the Hybrid::equals function
parent
e12a1185
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!1470
Fix wrong variable name to make target hash (2.10)
,
!1424
Deprecate the Hybrid::equals function
Pipeline
#73410
canceled
6 months ago
Stage: .pre
Stage: test
Stage: code_quality
Stage: downstream
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+1
-0
1 addition, 0 deletions
CHANGELOG.md
dune/common/hybridutilities.hh
+3
-1
3 additions, 1 deletion
dune/common/hybridutilities.hh
with
4 additions
and
1 deletion
CHANGELOG.md
+
1
−
0
View file @
8da126a1
...
...
@@ -113,6 +113,7 @@ In order to build the DUNE core modules you need at least the following software
-
Remove in
`dune/python/common/dimrange.hh`
the
`DimRange`
specializations for
dune-typetree and dune-functions types. Those are moved to dune-functions.
-
Deprecated
`Hybrid::equals`
. Use
`Hybrid::equal_to`
instead.
## Python: Changelog
...
...
This diff is collapsed.
Click to expand it.
dune/common/hybridutilities.hh
+
3
−
1
View file @
8da126a1
...
...
@@ -580,9 +580,11 @@ inline constexpr auto equal_to = hybridFunctor(std::equal_to<>{});
* If both types have a static member value, the result of comparing
* these is returned as std::integral_constant<bool, *>. Otherwise
* the result of a runtime comparison of t1 and t2 is directly returned.
*
* \deprecated
*/
template
<
class
T1
,
class
T2
>
constexpr
auto
equals
(
T1
&&
t1
,
T2
&&
t2
){
[[
deprecated
(
"Use Hybrid::equal_to instead!"
)]]
constexpr
auto
equals
(
T1
&&
t1
,
T2
&&
t2
){
return
equal_to
(
std
::
forward
<
T1
>
(
t1
),
std
::
forward
<
T2
>
(
t2
));
}
...
...
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