commit | 3c7107f34a24fbb6324687e6dd03475fae5916eb | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Tue Jun 13 15:13:50 2023 -0700 |
committer | William A. Kennington III <wak@google.com> | Thu Jun 22 14:56:59 2023 -0700 |
tree | e3bca4b77d1853909ea97817b3d906a3f222569c | |
parent | 6c8e7b15b9bb20531ada1bf645b9ea35ad4aa33f [diff] |
str/buf: Add allocation reducing string buffer Enables constructing strings with minimal allocations, and follows best practices of using stack optimized for storing smaller string buffers. Change-Id: If3b9e0d9e14147aadf282fe5ddeea8f7f9ef5837 Signed-off-by: William A. Kennington III <wak@google.com>
stdplus is a c++ project containing commonly used classes and functions for the Linux platform. Note the goals of this project are to implement only the minimum set of features needed by the OpenBMC project and other users. You may find the included set of functions currently quite sparse.
This project provides the following primitives:
Test cases require google{test,mock}, valgrind, and lcov. It also requires the Meson Build System which can be installed following the instructions at mesonbuild.com.
For a standard release build, you want something like:
meson setup -Dexamples=false -Dtests=disabled builddir ninja -C builddir ninja -C builddir install
For a test / debug build, a typical configuration is
meson setup -Dtests=enabled builddir meson test -C builddir