util/BindMethod: remove unused struct MethodWithSignature

This commit is contained in:
Max Kellermann 2021-12-03 08:06:13 +01:00 committed by Max Kellermann
parent acab731fef
commit c693e4aa64

View File

@ -81,24 +81,6 @@ public:
namespace BindMethodDetail {
/**
* Helper class which converts a signature type to a method pointer
* type.
*
* @param T the wrapped class
* @param S the function signature type (plain, without instance
* pointer)
*/
template<typename T, typename S>
struct MethodWithSignature;
template<typename T,
bool NoExcept,
typename R, typename... Args>
struct MethodWithSignature<T, R(Args...) noexcept(NoExcept)> {
typedef R (T::*method_pointer)(Args...) noexcept(NoExcept);
};
/**
* Helper class which introspects a method pointer type.
*