C++ Logo

STD-PROPOSALS

Advanced search

Subject: [std-proposals] eq keyword and multi-token alternative operators
From: Walt Karas (wkaras_at_[hidden])
Date: 2020-10-17 19:40:50


I suggest adding the keyword "eq"  as an alternative to  the == token.

bitand= , bitor= , bitxor= seem more clear and consistent to me than and_eq, or_eq, xor_eq .  The pain point is that bitand/bitor/binxor would have to become reserve words rather than just keywords.  With that change, would there be any parsing ambiguities with these sequences of two tokens representing a single operator?


STD-PROPOSALS list run by std-proposals-owner@lists.isocpp.org

Standard Proposals Archives on Google Groups