From 8672aa4aaa3fe97b27f55ab728f3e41f331a72a3 Mon Sep 17 00:00:00 2001 From: LEE KYOUNGHEON Date: Wed, 5 Feb 2025 16:47:13 +0900 Subject: [PATCH] Export std::{tuple_size,tuple_element} for vk::StructureChain. (#2060) * Export std::{tuple_size,tuple_element} for vk::StructureChain. * Add separator --- VulkanHppGenerator.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/VulkanHppGenerator.cpp b/VulkanHppGenerator.cpp index ca0eedd..ba77f24 100644 --- a/VulkanHppGenerator.cpp +++ b/VulkanHppGenerator.cpp @@ -826,6 +826,15 @@ export namespace VULKAN_HPP_NAMESPACE export namespace std { ${hashSpecializations} + + //=============================================== + //=== Required exports for vk::StructureChain === + //=============================================== + +#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) + using std::tuple_size; + using std::tuple_element; +#endif } // This VkFlags type is used as part of a bitfield in some structure.