Funnily enough, notxorandxor_eq, orand_eqor_eq, not_eqbitandbitor have been keywords basically forever, yet they're never reused anywhere else they could be used. Heck, they didn't even use not as a way to invert keywords (e.g., using namespace Foo; not using Foo::Bar; to use all but one member of a namespace). I half thing the committee forgot the keywords even exit.
View all comments
Show parent comment
1
u/AffectionatePlane598 Mar 15 '26
C++ also has the keywords for bitwise operations so you can just use ‘not’ right? I havent touched C++ in forever and never touched anything past 11