Details
Diff Detail
Event Timeline
I'm not really sure whether getting rid of flipBoolean() is a win.
I think i would instead suggest to refactor it to use getLogicalNOT() internally.
I'm not sure I understand the concern here. If its just the requirement to specify a VT, maybe we should add an overload of getLogicalNOT that doesn't require one? (and maybe getNOT while we're at it) It seems reusing the VT of whatever you're flipping is probably what you want most of the time anyway.
I agree that this is an NFC change, i'm just not sold that more lines of code is better.
The extra lines were only because I thought it was more readable. Not needing to pass the VT would also help in that regard though.
Thanks for the review! If no one else objects, could you commit this for me? Layton Kifer <laytonkifer@gmail.com>