How do you share some but not all of a class? Arne Mertz introduces the passkey idiom to avoid exposing too much with friendship. Passkey Idiom: A Useful Empty Class By Arne Mertz From the article: Let’s have a look at an example for useful empty classes. The passkey idiom can help us regain the control that we give up by simply making classes friends. Th…