The key problem is that a member pointer cannot be converted to void* , which is what overloading does, which usually processes print pointers. A.
Thus, the following best transform is used, which is a pointer to a transform β bool . Both pointers are not null pointers, so you get the output you see.
If you try to print βregularβ pointers (as opposed to pointers to an element), you will get some output along the lines of what you originally expected.
source share