Don't think so. Freestanding macro expansion expressions can't have whitespace between the #
and identifier (see diag::extra_whitespace_macro_expansion_identifier
), and #
doesn't appear to be valid where an infix operator would be expected, so I think we could treat standalone #
like an operator—type sugar (infix) when the surrounding whitespace is symmetrical, macro expansion (prefix) when it isn't.
8 Likes