C++ Telltales part 7:

This is seventh part of my C++ Telltales series where I share some tips and tricks to work with C++. Feel free to check out also other parts of the series here!

Object pools are useful if you need to have large number of objects which have very short lifetime and especially if the cost of initialization or destruction of those objects is high. They are used to provide access to reusable objects which are either created on the fly when requested or created upon object pool initialization — which way to use this depends on how…