(C++) How to do XOR operation
Use != instead.
- CAVEAT: This only works for boolean variables.
- More generally, for variable
a,bdo!(a) != !(b).
References:
Written on April 28, 2021
Deep Learning SWE @ TensorRT, NVIDIA
Use != instead.
a, b do !(a) != !(b).References: