[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 );