10-05-2022, 12:29 PM
I just realized that the provided examples are not actual assignment expressions but declarations with initialization. With this in mind, the ?: are not sub-expressions but top-level expressions and thus do not violate the rule.