Passkey Idiom: More Useful Empty Classes--Arne Mertz

Friends are nice, but not in C++.

Passkey Idiom: More Useful Empty Classes

by Arne Mertz

From the article:

After last week’s post about tag dispatch let’s have a look at another example for useful empty classes: The passkey idiom can help us regain control that we would give up by simply making classes friends.

Add a Comment

Comments are closed.

Comments (0)

There are currently no comments on this entry.