|
qxLib
|
Small Buffer Object for polymorphic classes. More...
#include <sbo_poly.h>
Small Buffer Object for polymorphic classes.
If the inherited class fits into the specified buffer, it stores it in place; if not, it allocates memory for it. Allows you to increase cache locality when storing in containers.
| base_t | - base class type, you'll be able to work with each element through its interface |
| nSBOSize_ | - the size of the whole SBO type, including internal data |