From c6c67f2bff61e730dc673c9f5b51b1661a159179 Mon Sep 17 00:00:00 2001 From: Georg Hagen Date: Sat, 6 Jul 2024 21:43:50 +0200 Subject: [PATCH] Add wrapper for smart pointers --- openVulkanoCpp/Base/Wrapper.hpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 openVulkanoCpp/Base/Wrapper.hpp diff --git a/openVulkanoCpp/Base/Wrapper.hpp b/openVulkanoCpp/Base/Wrapper.hpp new file mode 100644 index 0000000..b37939f --- /dev/null +++ b/openVulkanoCpp/Base/Wrapper.hpp @@ -0,0 +1,16 @@ +/* + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + */ + +#pragma once + +#include + +namespace OpenVulkano +{ + template using Ptr = std::shared_ptr; + template using Weak = std::weak_ptr; + template using Unique = std::unique_ptr; +}