Commit 1120b816 authored by Simon Praetorius's avatar Simon Praetorius
Browse files

Merge branch 'cleanup/deprecate-is-callable-invokable' into 'master'

Use std::is_invocable instead of Std::is_invocable

See merge request !197
parents 6553c235 1068e486
Pipeline #37878 passed with stage
in 10 minutes and 43 seconds
......@@ -7,7 +7,6 @@
#include <utility>
#include <vector>
#include <dune/common/std/type_traits.hh>
#include <dune/common/typeutilities.hh>
#include <dune/localfunctions/common/localinterpolation.hh>
......@@ -46,7 +45,7 @@ namespace Dune
template< class Fn, class Vector >
auto interpolate ( const Fn &fn, Vector &coefficients, PriorityTag< 1 > ) const
-> std::enable_if_t< Std::is_invocable< const Fn &, decltype( this->lagrangePoints_.begin()->point() ) >::value >
-> std::enable_if_t< std::is_invocable_v< const Fn &, decltype( this->lagrangePoints_.begin()->point() ) > >
{
unsigned int index = 0;
for( const auto &lp : lagrangePoints_ )
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment