#include <type_traits>
#include <dune/common/typeutilities.hh>
Go to the source code of this file.
|
template<class T > |
constexpr auto | Dune::Functions::Imp::staticSize (const T *, const PriorityTag< 0 > &) -> decltype(std::integral_constant< std::size_t, T::size()>()) |
|
template<class T > |
constexpr auto | Dune::Functions::Imp::staticSize (const T *, const PriorityTag< 1 > &) -> decltype(std::integral_constant< std::size_t, T().size()>()) |
|
template<class T > |
constexpr auto | Dune::Functions::Imp::staticSize (const T *, const PriorityTag< 2 > &) -> decltype(std::integral_constant< std::size_t, std::tuple_size< T >::value >()) |
|
template<class T > |
constexpr std::false_type | Dune::Functions::Imp::hasStaticSize (const T *t, const PriorityTag< 0 > &p) |
|
template<class T > |
constexpr auto | Dune::Functions::Imp::hasStaticSize (const T *t, const PriorityTag< 1 > &p) -> decltype(staticSize(t, PriorityTag< 42 >()), std::true_type()) |
|