Overloading the bitwise NOT ( ~ ) is fairly simple. Scroll down for explanation. Overloading outside of class / struct : T operator~(T lhs) { //Do operation ...
確定! 回上一頁