O'Reilly logo
  • LI WEI thinks this is interesting:

The UE4 code uses macros extensively. These macros are used to copy and paste boilerplate starter code that lets your code integrate with the UE4 editor.

From

Cover of Learning C++ by Creating Games with UE4

Note

虚幻提供了大量的宏用来粘贴引用代码,以便让你的代码和编辑器交互集成