B
Buck Turgidson
Can someone check me on if the following two blocks are logically
equivalent? Is there an even better way to write this with a one-liner?
return (inverse ^ line_matched);
// and
if ( !inverse )
return line_matched;
else
return !line_matched;
equivalent? Is there an even better way to write this with a one-liner?
return (inverse ^ line_matched);
// and
if ( !inverse )
return line_matched;
else
return !line_matched;