(Bitset) Added equality operator

Former-commit-id: b5145a1a0ad8031001927c29c49e0f1faae2d7af
This commit is contained in:
Lynix
2015-03-16 18:02:17 +01:00
parent 17961f42fd
commit 458cdd7cab
2 changed files with 39 additions and 0 deletions

View File

@@ -99,6 +99,12 @@ class NzBitset
unsigned int m_bitCount;
};
template<typename Block, typename Allocator>
bool operator==(const NzBitset<Block, Allocator>& lhs, const NzBitset<Block, Allocator>& rhs);
template<typename Block, typename Allocator>
bool operator!=(const NzBitset<Block, Allocator>& lhs, const NzBitset<Block, Allocator>& rhs);
template<typename Block, typename Allocator>
NzBitset<Block, Allocator> operator&(const NzBitset<Block, Allocator>& lhs, const NzBitset<Block, Allocator>& rhs);