diff --git a/VulkanHppGenerator.cpp b/VulkanHppGenerator.cpp index 4a494fb..caa2225 100644 --- a/VulkanHppGenerator.cpp +++ b/VulkanHppGenerator.cpp @@ -5897,12 +5897,20 @@ int main(int argc, char **argv) template ClassType& get() VULKAN_HPP_NOEXCEPT { return static_cast(*this);} + template const ClassType& get() const VULKAN_HPP_NOEXCEPT { return static_cast(*this);} + template std::tuple get() { return std::tie(get(), get(), get()...); } + template + std::tuple get() const + { + return std::tie(get(), get(), get()...); + } + template void unlink() VULKAN_HPP_NOEXCEPT { diff --git a/vulkan/vulkan.hpp b/vulkan/vulkan.hpp index 4031de5..8f0461b 100644 --- a/vulkan/vulkan.hpp +++ b/vulkan/vulkan.hpp @@ -538,12 +538,20 @@ namespace VULKAN_HPP_NAMESPACE template ClassType& get() VULKAN_HPP_NOEXCEPT { return static_cast(*this);} + template const ClassType& get() const VULKAN_HPP_NOEXCEPT { return static_cast(*this);} + template std::tuple get() { return std::tie(get(), get(), get()...); } + template + std::tuple get() const + { + return std::tie(get(), get(), get()...); + } + template void unlink() VULKAN_HPP_NOEXCEPT {