type_traits.member_pointer_traits - MichaelMiller-/sec21 GitHub Wiki
sec21::type_traits::member_pointer_traits
#include <sec21/type_traits/member_pointer_traits.h>
Decomposes a pointer to a member into it's components.
Example
class cls {};
static_assert(std::is_same_v<member_pointer_traits<int(cls::*)>::class_t, cls>);
static_assert(std::is_same_v<member_pointer_traits<int(cls::*)>::value_t, int>);