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>
diff --git a/test/meson.build b/test/meson.build
index 812de29..cc3d12d 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -3,6 +3,7 @@
tests = [
'signal',
+ 'handle/copyable',
'handle/managed',
]