mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Introduce explicit default construction on nullptr_t for vector-based raii-classes.
This commit is contained in:
parent
083c13a33f
commit
782c4aa46c
@ -7013,6 +7013,7 @@ ${enter} class ${handleType}s : public std::vector<VULKAN_HPP_NAMESPACE::VULKAN
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
${arrayConstructors}
|
${arrayConstructors}
|
||||||
|
${handleType}s( std::nullptr_t ) {}
|
||||||
|
|
||||||
${handleType}s() = delete;
|
${handleType}s() = delete;
|
||||||
${handleType}s( ${handleType}s const & ) = delete;
|
${handleType}s( ${handleType}s const & ) = delete;
|
||||||
|
@ -3259,6 +3259,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PhysicalDevices( std::nullptr_t ) {}
|
||||||
|
|
||||||
PhysicalDevices() = delete;
|
PhysicalDevices() = delete;
|
||||||
PhysicalDevices( PhysicalDevices const & ) = delete;
|
PhysicalDevices( PhysicalDevices const & ) = delete;
|
||||||
PhysicalDevices( PhysicalDevices && rhs ) = default;
|
PhysicalDevices( PhysicalDevices && rhs ) = default;
|
||||||
@ -5733,6 +5735,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CommandBuffers( std::nullptr_t ) {}
|
||||||
|
|
||||||
CommandBuffers() = delete;
|
CommandBuffers() = delete;
|
||||||
CommandBuffers( CommandBuffers const & ) = delete;
|
CommandBuffers( CommandBuffers const & ) = delete;
|
||||||
CommandBuffers( CommandBuffers && rhs ) = default;
|
CommandBuffers( CommandBuffers && rhs ) = default;
|
||||||
@ -6574,6 +6578,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DescriptorSets( std::nullptr_t ) {}
|
||||||
|
|
||||||
DescriptorSets() = delete;
|
DescriptorSets() = delete;
|
||||||
DescriptorSets( DescriptorSets const & ) = delete;
|
DescriptorSets( DescriptorSets const & ) = delete;
|
||||||
DescriptorSets( DescriptorSets && rhs ) = default;
|
DescriptorSets( DescriptorSets && rhs ) = default;
|
||||||
@ -7143,6 +7149,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DisplayKHRs( std::nullptr_t ) {}
|
||||||
|
|
||||||
DisplayKHRs() = delete;
|
DisplayKHRs() = delete;
|
||||||
DisplayKHRs( DisplayKHRs const & ) = delete;
|
DisplayKHRs( DisplayKHRs const & ) = delete;
|
||||||
DisplayKHRs( DisplayKHRs && rhs ) = default;
|
DisplayKHRs( DisplayKHRs && rhs ) = default;
|
||||||
@ -8608,6 +8616,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Pipelines( std::nullptr_t ) {}
|
||||||
|
|
||||||
Pipelines() = delete;
|
Pipelines() = delete;
|
||||||
Pipelines( Pipelines const & ) = delete;
|
Pipelines( Pipelines const & ) = delete;
|
||||||
Pipelines( Pipelines && rhs ) = default;
|
Pipelines( Pipelines && rhs ) = default;
|
||||||
@ -10308,6 +10318,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SwapchainKHRs( std::nullptr_t ) {}
|
||||||
|
|
||||||
SwapchainKHRs() = delete;
|
SwapchainKHRs() = delete;
|
||||||
SwapchainKHRs( SwapchainKHRs const & ) = delete;
|
SwapchainKHRs( SwapchainKHRs const & ) = delete;
|
||||||
SwapchainKHRs( SwapchainKHRs && rhs ) = default;
|
SwapchainKHRs( SwapchainKHRs && rhs ) = default;
|
||||||
|
Loading…
Reference in New Issue
Block a user