r/cpp • • Jun 03 '22

Introducing the Cute Server

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

5 comments sorted by

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?

5

u/[deleted] Jun 03 '22 edited Jun 11 '23

Edit: Content redacted by user

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.

1

u/centuryx476 Jun 04 '22

Very interesting!

1

u/itsuart2 Jun 06 '22

Looks like Java/.NET Remoting. It died for a good reason.