aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-10-23 16:34:14 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-10-23 16:34:14 +0200
commit6ef1fce1a1df1c173b2cc4bbce59cee8e40f3b8a (patch)
treeecef32c75f773cf07a069b0abea6674c562cc56e
parent7c1f314d2f9533a7cad27f2e786e141102fd7f5f (diff)
Add note to intro on what module extension is for (module interface unit)
-rw-r--r--doc/intro.cli12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/intro.cli b/doc/intro.cli
index dae1f28..5ee8a14 100644
--- a/doc/intro.cli
+++ b/doc/intro.cli
@@ -2466,6 +2466,18 @@ template .tpp .txx
source .cpp .cxx
\
+\N|The \c{.mxx}/\c{.mpp} extension is for the module interface translation
+units with module implementation units (if any) using the \c{.cxx}/\c{.cpp}
+extension. If both are present, then it makes sense to use the same base name,
+similar to headers. For example:
+
+\
+hello-core.mxx
+hello-core.cxx
+\
+
+|
+
The use of inline and template files is a matter of taste. If used, they are
included at the end of the header/module files and contain definitions of
inline and non-inline template functions, respectively. The \c{.?xx}/\c{.?pp}