Then use a pointer to mem_fn for the bimap and not directly the function
pointer.
That's not possible because when:
mem_fn a( &class::function );
mem_fn b( &class::function );
then a and b are different objects but internally point to the same function.