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
iwr
dune-vtk
Commits
cdfb72d2
Commit
cdfb72d2
authored
Dec 16, 2020
by
Praetorius, Simon
Browse files
remove void_t from concepts
parent
482abe13
Changes
1
Show whitespace changes
Inline
Side-by-side
dune/vtk/function.hh
View file @
cdfb72d2
...
...
@@ -6,9 +6,9 @@
#include
<dune/common/typetraits.hh>
#include
<dune/common/version.hh>
#include
"
localfunction.hh
"
#include
"
types.hh
"
#include
"
utility/arguments.hh
"
#include
<dune/vtk/
localfunction.hh
>
#include
<dune/vtk/
types.hh
>
#include
<dune/vtk/
utility/arguments.hh
>
namespace
Dune
{
...
...
@@ -29,14 +29,14 @@ namespace Dune
using
LocalDomain
=
typename
Element
::
Geometry
::
LocalCoordinate
;
template
<
class
GF
>
using
IsGridFunction
=
std
::
void_t
<
decltype
(
localFunction
(
std
::
declval
<
GF
>
()))
>
;
using
IsGridFunction
=
decltype
(
localFunction
(
std
::
declval
<
GF
>
()));
template
<
class
LocalFunction
,
class
LF
=
std
::
decay_t
<
LocalFunction
>
>
using
IsLocalFunction
=
std
::
void_t
<
decltype
((
using
IsLocalFunction
=
decltype
((
std
::
declval
<
LF
&>
().
bind
(
std
::
declval
<
Element
>
()),
std
::
declval
<
LF
&>
().
unbind
(),
std
::
declval
<
LF
>
()(
std
::
declval
<
LocalDomain
>
()),
0
))
>
;
0
));
template
<
class
F
,
class
D
>
using
Range
=
std
::
decay_t
<
std
::
result_of_t
<
F
(
D
)
>>
;
...
...
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