diff options
| author | William A. Kennington III <wak@google.com> | 2018-11-02 17:28:35 -0700 |
|---|---|---|
| committer | William A. Kennington III <wak@google.com> | 2019-03-29 21:14:57 +0000 |
| commit | 7a5e23259a696bf240a14200535680b42c445096 (patch) | |
| tree | 9553542506b77601755b0f548c2fe48031198a62 /test/meson.build | |
| parent | 1937ef65b505b1d856c74074d6042bdb336728af (diff) | |
| download | stdplus-7a5e23259a696bf240a14200535680b42c445096.tar.gz stdplus-7a5e23259a696bf240a14200535680b42c445096.zip | |
handle/managed: Implement non-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 destroyed. A future
change will implement a smart file descriptor based on this interface.
A follow up change will implement the copyable version.
Tested:
Built and run through unit tests.
Change-Id: Ia8da1d662319e8fb58380ed4979bcf1b74f66dfb
Signed-off-by: William A. Kennington III <wak@google.com>
Diffstat (limited to 'test/meson.build')
| -rw-r--r-- | test/meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/meson.build b/test/meson.build index b918d5d..812de29 100644 --- a/test/meson.build +++ b/test/meson.build @@ -3,6 +3,7 @@ gmock = dependency('gmock', disabler: true, required: build_tests) tests = [ 'signal', + 'handle/managed', ] foreach t : tests |

