1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-31 14:52:11 +01:00

[util] Add simple [] operator to our bitset

This commit is contained in:
Joshua Ashton 2020-01-23 02:05:06 +00:00
parent 7d0ddc4b3b
commit 9919ffe5ca

View File

@ -252,6 +252,10 @@ namespace dxvk::bit {
return Dwords;
}
constexpr bool operator [] (uint32_t idx) const {
return get(idx);
}
private:
uint32_t m_dwords[Dwords];