diff --git a/VulkanHppGenerator.cpp b/VulkanHppGenerator.cpp index 782c901..09a4a34 100644 --- a/VulkanHppGenerator.cpp +++ b/VulkanHppGenerator.cpp @@ -4602,6 +4602,9 @@ int main( int argc, char **argv ) private: using Deleter = typename UniqueHandleTraits::deleter; public: + + using element_type = Type; + explicit UniqueHandle( Type const& value = Type(), Deleter const& deleter = Deleter() ) : Deleter( deleter) , m_value( value ) diff --git a/vulkan/vulkan.hpp b/vulkan/vulkan.hpp index ada8bbe..a3a4823 100644 --- a/vulkan/vulkan.hpp +++ b/vulkan/vulkan.hpp @@ -509,6 +509,9 @@ namespace VULKAN_HPP_NAMESPACE private: using Deleter = typename UniqueHandleTraits::deleter; public: + + using element_type = Type; + explicit UniqueHandle( Type const& value = Type(), Deleter const& deleter = Deleter() ) : Deleter( deleter) , m_value( value )