This seems to work but is it right?
template <typename T>
inline void UnSetBit(T &var, byte ind)
{
var &= ~(1 << ind);
}
|
Results 1 to 3 of 3
Thread: UnSetBit right?Threaded View
|
Click Here to Expand Forum to Full Width |