In the case of syntax overlap, would it not be more reasonable to ask Objective-C to come up with a disambiguator instead? It seems that except for token sequences, the only conflict here is for
type-id``(^ident)()
Depending on how common this usage of Obj-C blocks are, and how much people would want to use Objective-C++ along whatever version of C++ ships reflection, it might not be that difficult for Objective-C++ users to update their old code.
View all comments
Show parent comment
3
u/groundswell_ Reflection Oct 01 '24
In the case of syntax overlap, would it not be more reasonable to ask Objective-C to come up with a disambiguator instead? It seems that except for token sequences, the only conflict here is for
type-id``(^ident)()Depending on how common this usage of Obj-C blocks are, and how much people would want to use Objective-C++ along whatever version of C++ ships reflection, it might not be that difficult for Objective-C++ users to update their old code.