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 /src/Makefile.am | |
| 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 'src/Makefile.am')
| -rw-r--r-- | src/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 57af82a..d45007e 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -4,6 +4,8 @@ lib_LTLIBRARIES = libstdplus.la libstdplus_la_SOURCES = libstdplus_la_LIBADD = $(COMMON_LIBS) +nobase_include_HEADERS += stdplus/handle/copyable.hpp + nobase_include_HEADERS += stdplus/handle/managed.hpp nobase_include_HEADERS += stdplus/signal.hpp |

