__not_null is missing overloads for cv and ref qualified member functions as well as functions that have varargs. This patch adds these overloads.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
A lot of work can be saved by ignoring the function signature.
template<class _R2, class _Cp>
static bool not_null(_R2 _Cp::* p) {return __p;}
Comment Actions
Withdrawing this patch. I have a large number of __invoke tests to check in before I start fixing this.