User talk:Ybab321/Modules

Note to self (thanks to Fsb4000) that stdlib headers need to be manually compiled (e.g. and linked (e.g. ), even in visual studio (currently) --Ybab321 (talk) 13:01, 17 April 2021 (PDT)
 * Using et al seems to be working now --Ybab321 (talk) 03:35, 18 October 2021 (PDT)

Today I was able to transform my project into modules, here were the general steps: --Ybab321 (talk) 03:35, 18 October 2021 (PDT)
 * 1) Replace every single standard library  with some subset of
 * 2) Rename all header files from  to  (module files must have the ixx extension and must have a different name than any source files (such as ), hence the  suffix)
 * 3) Replace all  with  (declare a global module fragment to place all s in
 * 4) After all remaining  in your  files, add an
 * 5) Replace all  of project local  files with, place these imports after any remaining
 * 6) Prepend  to any declarations you want made available by your modules
 * 7) If your header files needed to provide macros, make a wrapper header file that defines those macros and imports the related module, switch back to  for all consumers of this module/header
 * 8) If you need macros from stdlib, add those includes back in (making sure all includes come before any imports)
 * 9) Hack your way around all the internal compiler errors (I had to manually expand some macros and my friend operators weren't being looked up, so had to switch to member operators)