commit | 68975b90a5e98f90fbcd779b59870c1cbf81bf49 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Wed Apr 27 16:00:26 2022 -0500 |
committer | William A. Kennington III <wak@google.com> | Wed Apr 27 14:45:31 2022 -0700 |
tree | 35f2a209d0b96be75278145563f75c6e48e72c32 | |
parent | 1151c6d3d93369f16ccedd16dbb410ec2c59cfa5 [diff] |
span: switch to std There are no longer any external users in the openbmc org which are not compiled with C++20 and using std::span directly. Migrate all internal code to use std::span, delete the typedefs, and remove the old span-lite dependency. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I86bc9c0688c3828f9fe2ce006b273a55fc5fded9
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