Allocators are the STL way of doing this, and are mostly very easy to work with.<br><br>One tricky thing to keep in mind is that allocators are used by the containers only to store the <i>elements</i> ...