look for a single pointer variable in one (the whole) class:
B* b;