qxLib
sbo_poly Class Reference

Small Buffer Object for polymorphic classes. More...

#include <sbo_poly.h>

Detailed Description

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.

Template Parameters
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
Author
Khrapov
Date
24.12.2025

The documentation for this class was generated from the following file: