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/conundorum Mar 21 '26
It does, yeah. Has for a long time, too.
Funnily enough,
notxorandxor_eq,orand_eqor_eq,not_eqbitandbitorhave been keywords basically forever, yet they're never reused anywhere else they could be used. Heck, they didn't even usenotas 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.