[Development] A modest proposal: disable lower-case keywords (emit, foreach, forever, signals, slots) by default

Edward Welbourne edward.welbourne at qt.io
Mon Feb 24 13:34:44 CET 2020


Mitch Curtis (24 February 2020 13:22)
> I don't think anyone has explained what that harm is yet.

#define emit

causes problems when you import a header that declares

  void emit(Type arg);

and the compiler sees

  void (Type arg);

and throws a wobbly.

	Eddy.


More information about the Development mailing list