[HPP] Add operator T const&&() to ResultValue

This commit is contained in:
mocabe 2020-05-28 03:02:50 +09:00 committed by Markus Tavenrath
parent 63f3412b03
commit 36869db461
2 changed files with 10 additions and 0 deletions

View File

@ -7884,6 +7884,11 @@ namespace std
return value;
}
operator T const&& () const && VULKAN_HPP_NOEXCEPT
{
return std::move( value );
}
operator T&& () && VULKAN_HPP_NOEXCEPT
{
return std::move( value );

View File

@ -15897,6 +15897,11 @@ namespace VULKAN_HPP_NAMESPACE
return value;
}
operator T const &&() const && VULKAN_HPP_NOEXCEPT
{
return std::move( value );
}
operator T &&() && VULKAN_HPP_NOEXCEPT
{
return std::move( value );