mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Add type alias for underlying type of vk::UniqueHandle (#326)
* Add type alias for underlying type of vk::UniqueHandle * Type alias to UniqueHandle * Unique Handle Type alias moved
This commit is contained in:
parent
39d204839d
commit
61e92d4842
@ -4602,6 +4602,9 @@ int main( int argc, char **argv )
|
||||
private:
|
||||
using Deleter = typename UniqueHandleTraits<Type,Dispatch>::deleter;
|
||||
public:
|
||||
|
||||
using element_type = Type;
|
||||
|
||||
explicit UniqueHandle( Type const& value = Type(), Deleter const& deleter = Deleter() )
|
||||
: Deleter( deleter)
|
||||
, m_value( value )
|
||||
|
@ -509,6 +509,9 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
private:
|
||||
using Deleter = typename UniqueHandleTraits<Type,Dispatch>::deleter;
|
||||
public:
|
||||
|
||||
using element_type = Type;
|
||||
|
||||
explicit UniqueHandle( Type const& value = Type(), Deleter const& deleter = Deleter() )
|
||||
: Deleter( deleter)
|
||||
, m_value( value )
|
||||
|
Loading…
Reference in New Issue
Block a user