commit | b0bcbafb10562e4b420ffd61975fc19118531ecb | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Fri Dec 09 02:17:22 2022 -0800 |
committer | William A. Kennington III <wak@google.com> | Thu Jun 22 14:59:47 2023 -0700 |
tree | b8cd44437dde045d884b48f7ddf5b2de61dbd490 | |
parent | 2ff4b36a34e5f6abe1fbe695197fd4e66862339b [diff] |
numeric/str: Add constexpr int decode This makes it possible to convert strings to numbers in a constexpr context. Change-Id: I051ce8600b643533cc25a8de06e15c917db9fbd7 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