cppannotations/annotations/yo/modules.yo
Frank B. Brokken 3a9846e2aa typo
2022-03-24 12:02:02 +01:00

49 lines
1.1 KiB
Text

includefile(modules/intro.yo)
sect(An initial, complete module)
includefile(modules/initial.yo)
subsect(Using a module)
includefile(modules/using.yo)
lsect(COMPOD)(Module interfaces and implementations)
includefile(modules/implementations.yo)
subsect(includes and using namespaces)
includefile(modules/includes.yo)
SO FAR
subsubsect(module specific imports and #includes)
includefile(modules/modincludes.yo)
lsect(PARTITIONS)(Module partitions)
sect(modiles/partitions.yo)
(PRIVMOD)private module partitions?
lsect(HDRIMPORT)(Importing headers)
sect(modules/headers.yo)
lsect(MODMAPPER)(Specifying gcm.cache locations)
namespaces in modules
header files:
existing headers (like iostream)?
own headers?
-fmodule-header flag and then import
what's visible? Same function names in differnt modules? -> namespace required
namespaces are independent from modules: defining module-specific
namespaces is OK
constructing a modules library
lsect(MODDESIGN)(Designing programs using modules)
includefile(modules/design.yo)