Skip to content
Snippets Groups Projects
Commit bec9ade9 authored by Happel, Lea's avatar Happel, Lea
Browse files

Replace result of_t by invoke_result_t

parent 24398660
No related branches found
No related tags found
1 merge request!33Replaced result of t by invoke result t
Pipeline #12891 failed
......@@ -48,7 +48,7 @@ public:
using ctype = typename Geometry::ctype;
using Domain = typename Geometry::GlobalCoordinate;
using RangeType = std::result_of_t<Functor(Domain)>;
using RangeType = std::invoke_result_t<Functor,Domain>;
template <int degree>
using DerivativeRange = typename Impl::DerivativeRangeType<RangeType(Domain), degree, Functions::DefaultDerivativeTraits>::type;
......@@ -228,7 +228,7 @@ public:
using EntitySet = GridEntitySet<Grid,0>;
using Domain = typename EntitySet::GlobalCoordinate;
using Range = std::result_of_t<Functor(Domain)>;
using Range = std::invoke_result_t<Functor,Domain>;
using Signature = Range(Domain);
public:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment