summaryrefslogtreecommitdiffstats
path: root/src/common/scratch_buffer.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* scratch_buffer: Explicitly defing resize and resize_destructive functionsameerj2022-12-201-0/+17
| | | | | resize keeps previous data intact when the buffer grows resize_destructive destroys the previous data when the buffer grows
* tests: Add ScratchBuffer testsameerj2022-12-201-5/+9
|
* common: Add ScratchBuffer classameerj2022-12-201-0/+74
This class creates a default initialized heap allocated buffer for cases where value initializing members during allocation or resize is redundant.