Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
amdis
amdis-core
Commits
61d3d13a
Commit
61d3d13a
authored
Nov 30, 2020
by
Praetorius, Simon
Browse files
replace operator[] access by treePathEntry()
parent
58ebcd51
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/TreePathTest.cpp
View file @
61d3d13a
...
...
@@ -15,7 +15,7 @@ template <class... I, class... J,
bool
compare
(
Dune
::
TypeTree
::
HybridTreePath
<
I
...
>
const
&
tp1
,
Dune
::
TypeTree
::
HybridTreePath
<
J
...
>
const
&
tp2
)
{
return
Ranges
::
applyIndices
<
sizeof
...(
I
)
>
([
&
](
auto
...
i
)
{
return
((
tp1
[
i
]
==
tp2
[
i
]
)
&&
...);
return
((
Dune
::
TypeTree
::
treePathEntry
(
tp1
,
i
)
==
Dune
::
TypeTree
::
treePathEntry
(
tp2
,
i
)
)
&&
...);
});
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment