Buffer handle – v1.0.1 Perform elementary actions on buffers with a single function code.malloc.fr

README

When regularly writing textual output to buffers it may be more efficient for an application to only write non static parts between calls. Buffers can then be reused as often as necessary, saving the static text initialization cost.

This C++ 11 header-only library under MIT license attempts to provide such functionality.

The code is available on GitHub and code.malloc.fr.

Notes

-Wimplicit-fallthrough workaround

Tests

Run make test to compile and make run-test to execute.

Dependencies

To change the path to those dependencies, create a config.mk file and then assign the CATCH and the BOOST variables with the appropriate locations (‘.’ is used by default).