CGameContext
insteadMask128 operator~()
{
m_aMask[0] = ~m_aMask[0];
m_aMask[1] = ~m_aMask[1];
return *this;
}
int i = 3; ~i;
that doesn't change i~
Mask127 operator~() const
is the signature I'd use and it'd tell you what's wrong with yoursc++
Mask128 operator~() const {
Mask128 t;
t.m_aMask[0] = ~m_aMask[0];
t.m_aMask[1] = ~m_aMask[1];
return t;
}
this
uint64_t
s so I can just write return Mask128(~m_aMask[0], ~m_aMask[1]);
std::bitset
well though, except for MSVCcheck_flag
and is the same optimum for add
git clone --recursive https://github.com/ddnet/ddnet
and ran it with the cmake gui for windows on visual studio 2017