Lua/LuaInstance: Add conversion operator to UInt32

This commit is contained in:
Lynix
2016-11-27 13:21:04 +01:00
parent 89aca11913
commit 1a5617bc55
3 changed files with 46 additions and 3 deletions

View File

@@ -33,6 +33,12 @@ namespace Nz
return m_value != 0;
}
template<typename E>
constexpr Flags<E>::operator UInt32() const
{
return m_value;
}
template<typename E>
constexpr Flags<E> Flags<E>::operator~() const
{