commit | 48a470a410d51455de862e1ac23e283a49e3d358 | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Sat Dec 10 17:09:59 2022 -0800 |
committer | William A. Kennington III <wak@google.com> | Thu May 25 14:59:38 2023 -0700 |
tree | cb20cb219aca0a7dd34d650d600a68312dc2964c | |
parent | cae9d14ae5ccbafb0446ea3109e6119ac5b8e293 [diff] |
str/cexpr: Add a function to make a constexpr generated string This allows the user to generate an arbitrary length string at compile time and convert it automatically to an std::array that is embedded in the program for zero overhead runtime strings. Change-Id: Ib6c2dd20cac53bb55e7a32e2fca194bdf0e06211 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