commit | a9cf86f1d26243c99f607ebdff6f71645d3a9276 | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Tue Aug 03 11:42:11 2021 -0700 |
committer | William A. Kennington III <wak@google.com> | Tue Aug 03 11:46:14 2021 -0700 |
tree | 8021662b20229232d7d50c1514a5c5336cee2406 | |
parent | 5a5280294859827d75ee7133ee5d3a295fcfb6e1 [diff] |
raw: Fix for single element containers Single element containers have .data() but not .size(), we can make these fall back to the non-container span constructor. Change-Id: I68ff3e4dc714aa95a8f9397dc769a2d2cf0f9332 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