diff options
author | David Robillard <d@drobilla.net> | 2018-01-16 23:54:06 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-01-16 23:54:06 +0100 |
commit | 1c2b3d3e3740c25df4df0a87c3a74506dc49b78c (patch) | |
tree | 89e0bcfa802598cc425304ee05d7ee82c3e9d61c | |
parent | 630e2cc1e7d692e2c3ba09d2de47d19bac211707 (diff) | |
download | ingen-1c2b3d3e3740c25df4df0a87c3a74506dc49b78c.tar.gz ingen-1c2b3d3e3740c25df4df0a87c3a74506dc49b78c.tar.bz2 ingen-1c2b3d3e3740c25df4df0a87c3a74506dc49b78c.zip |
Add terse unique pointer type alias
-rw-r--r-- | ingen/types.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ingen/types.hpp b/ingen/types.hpp index b0d73194..90823b70 100644 --- a/ingen/types.hpp +++ b/ingen/types.hpp @@ -24,6 +24,9 @@ namespace Ingen { template <class T> +using UPtr = std::unique_ptr<T>; + +template <class T> using SPtr = std::shared_ptr<T>; template <class T> |