Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-grid
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
Model registry
Operate
Environments
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-grid
Commits
36f54e1b
Commit
36f54e1b
authored
5 months ago
by
Andreas Dedner
Browse files
Options
Downloads
Patches
Plain Diff
replace std::result_of with std::invoke_result to make std20 compilation work
Is available since std17
parent
1c7d360a
Branches
Branches containing commit
No related tags found
1 merge request
!757
replace std::result_of with std::invoke_result to make std20 compilation work
Pipeline
#74709
passed
5 months ago
Stage: .pre
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/python/grid/simplegridfunction.hh
+3
-3
3 additions, 3 deletions
dune/python/grid/simplegridfunction.hh
with
3 additions
and
3 deletions
dune/python/grid/simplegridfunction.hh
+
3
−
3
View file @
36f54e1b
...
...
@@ -30,7 +30,7 @@ namespace Dune
typedef
typename
GridView
::
template
Codim
<
0
>
::
Entity
Element
;
typedef
typename
Element
::
Geometry
::
LocalCoordinate
LocalCoordinate
;
typedef
std
::
decay_t
<
std
::
result_
of_
t
<
LocalEvaluator
(
Element
,
LocalCoordinate
)
>
>
Value
;
typedef
std
::
decay_t
<
std
::
invoke_
result_t
<
LocalEvaluator
,
Element
,
LocalCoordinate
>
>
Value
;
explicit
SimpleLocalFunction
(
LocalEvaluator
localEvaluator
)
:
localEvaluator_
(
std
::
move
(
localEvaluator
)
)
{}
~
SimpleLocalFunction
()
{
unbind
();
}
...
...
@@ -147,7 +147,7 @@ namespace Dune
// ------------------
template
<
class
GV
,
class
LE
,
class
=
std
::
result_
of_
t
<
std
::
decay_t
<
LE
>
(
typename
GV
::
template
Codim
<
0
>
::
Entity
,
typename
GV
::
template
Codim
<
0
>
::
Geometry
::
LocalCoordinate
)
>
>
class
=
std
::
invoke_
result_t
<
std
::
decay_t
<
LE
>
,
typename
GV
::
template
Codim
<
0
>
::
Entity
,
typename
GV
::
template
Codim
<
0
>
::
Geometry
::
LocalCoordinate
>
>
inline
static
auto
simpleGridFunction
(
const
GV
&
gridView
,
LE
&&
localEvaluator
,
PriorityTag
<
1
>
)
->
SimpleGridFunction
<
GV
,
std
::
decay_t
<
LE
>
>
{
...
...
@@ -155,7 +155,7 @@ namespace Dune
}
template
<
class
GV
,
class
E
,
class
=
std
::
result_
of_
t
<
std
::
decay_t
<
E
>
(
typename
GV
::
template
Codim
<
0
>
::
Geometry
::
GlobalCoordinate
)
>
>
class
=
std
::
invoke_
result_t
<
std
::
decay_t
<
E
>
,
typename
GV
::
template
Codim
<
0
>
::
Geometry
::
GlobalCoordinate
>
>
inline
static
auto
simpleGridFunction
(
const
GV
&
gridView
,
E
&&
evaluator
,
PriorityTag
<
0
>
)
->
SimpleGlobalGridFunction
<
GV
,
std
::
decay_t
<
E
>
>
{
...
...
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