commit | 61a81bc814aa51b6aaf7ada8dc4285597e0061f3 | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Mon Sep 19 17:46:49 2022 -0700 |
committer | William A. Kennington III <wak@google.com> | Mon Sep 19 19:57:57 2022 -0700 |
tree | 10214ef936da609c1c7c6b3d8e98db33058b0303 | |
parent | aa4fcfc208c45511aa9788a08c969425e440fda0 [diff] |
zstring_view: Add class This adds a string_view variant that guarantees the nul terminating character of the string is always present. Useful for c-style interface interop. Change-Id: Ic918d2f59e2a7a983354a7b0b4755cb033a1db5e 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