Variable Acts::Concepts::has_method

Variable Documentation

template<typename T, typename R, template<class...> class M, typename ...Arguments>
constexpr bool Acts::Concepts::has_method = M<T, R, Arguments...>::template tv<T>::value

Helper which evaluates whether the type T has a method with a given signature.

Template Parameters
  • T: The type to check on. This can contain a const qualifier if you want to check on that.

  • R: The return type

  • M: The method trait, as generated by METHOD_TRAIT

  • Arguments: The argument types that make up the signature.