I was toying today with C++20 modules as implemented in clang.
The implementation in clang is still not complete and there are known bugs/limitations.
However, one can get an idea on how to use them:
https://gist.github.com/rofirrim/cefb7b2a730abd825c0326c96a0ef648
See also https://clang.llvm.org/docs/StandardCPlusPlusModules.html for more details
As a bonus I also learnt about "Grouped Targets" in GNU Makefile ( https://www.gnu.org/software/make/manual/html_node/Multiple-Targets.html )
#cplusplus #cpp #modules #clang #makefile #make #GNUMake
October #GNUSpotlight with Amin Bandali: Twelve new GNU releases! #gnuastro #GNUNet #GNUMake and more: https://u.fsf.org/3v1 Big thanks to @bandali0 @bandali, all the devs, and other contributors!
#GNUSpotlight #Gnuastro #gnunet #GNUMake