Modules in C++20

C++ Modules

What are modules? Modules are the new C++20 method for importing functions and classes from external libraries and separate translational units. Modules provide an alternative to using header files. Some of the benefits of modules are: No need to write separate files for the interface (.h) and the implementation (.cpp) Faster compile / recompile times … Read more