diff options
| author | William A. Kennington III <wak@google.com> | 2018-11-02 17:29:15 -0700 |
|---|---|---|
| committer | William A. Kennington III <wak@google.com> | 2019-03-29 21:14:57 +0000 |
| commit | e847ef8bbd5accd36a3287c686894418721c6798 (patch) | |
| tree | 551abef5024682e55fcca07fc26a60ac4ac2f379 /example | |
| parent | 7a5e23259a696bf240a14200535680b42c445096 (diff) | |
| download | stdplus-e847ef8bbd5accd36a3287c686894418721c6798.tar.gz stdplus-e847ef8bbd5accd36a3287c686894418721c6798.zip | |
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>
Diffstat (limited to 'example')
0 files changed, 0 insertions, 0 deletions

