The current implementation of yk::polyfill::invoke() lacks support for several member function qualifiers and signatures.
Specifically, it cannot handle:
- volatile-qualified member functions (e.g.,
void C::f() volatile)
- ref-qualified member functions (e.g.,
void C::f() & or void C::f() &&)
- C-style variadic member functions (e.g.,
void C::f(int, ...))
To provide full coverage, the implementation should either:
- Add exhaustive overloads for all combinations of cv-qualifiers, ref-qualifiers, noexcept and ellipsis.
- Refactor the dispatch logic using
is_member_function_pointer to handle member function pointers more generically.