commit | e847ef8bbd5accd36a3287c686894418721c6798 | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Fri Nov 02 17:29:15 2018 -0700 |
committer | William A. Kennington III <wak@google.com> | Fri Mar 29 21:14:57 2019 +0000 |
tree | 551abef5024682e55fcca07fc26a60ac4ac2f379 | |
parent | 7a5e23259a696bf240a14200535680b42c445096 [diff] |
handle/copyable: Implement copyable handle This is a generic handle type that holds a resource and uses RAII to call a user defined function when the resource is copied or destroyed. Tested: Built and run through unit tests. Change-Id: I3d23544b2e7c8d8c6686effc03b3b7433ea18bf5 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.
Test cases require google{test,mock}, valgrind, and lcov.
For a standard release build, you want something like:
./bootstrap.sh ./configure --disable-examples --disable-tests make make install
For a test / debug build, a typical configuration is
./bootstrap.sh ./configure --enable-tests --enable-coverage --enable-valgrind make make check make check-valgrind make check-code-coverage