Type safe handles in C++--Emil Ernerfeldt

Some time ago, Emil Ernerfeldt wrote about type safe handles. Simple and interesting.

Type safe handles in C++

by Emil Ernerfeldt

From the article:

Let's say you have a system of resources and you identify them using integers as handles. These integers are meaningless to the user, but internally they may be indices into an array, or just a running count...

Add a Comment

Comments are closed.

Comments (0)

There are currently no comments on this entry.