commit | 8c5f28c30816c58c4e6aecc7d1c0f376b91c428e | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Wed Dec 07 01:21:36 2022 -0800 |
committer | William A. Kennington III <wak@google.com> | Thu May 25 14:59:48 2023 -0700 |
tree | 3f0075795b243be11bd4850efb561766e52d37a3 | |
parent | 85149eefe48ae065863041f6f5077455e4701d37 [diff] |
numeric/endian: Add constexpr endian conversion functions These are as fast as the c library versions but they are also constexpr. Change-Id: I95bb1562a5a15a7f9c57a3483afe364a0286da48 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