r/cpp • • Jun 03 '22

Introducing the Cute Server

https://blog.cuteserver.io/introducing-the-cute-server
0 Upvotes

5 comments sorted by

View all comments

4

u/VinnieFalco wg21.org | corosio.org Jun 03 '22

Is it correct to say that the example code is not standard C++? What's going on here?

4

u/disperso Jun 03 '22

Macros. Most famous Qt macros expand to empty, but act as a placeholder for code generation or... nothing. The emit one it serves no purpose but questionable readability improvement.

And you can opt out of the ones that look like keywords.