From 6ef1fce1a1df1c173b2cc4bbce59cee8e40f3b8a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 23 Oct 2018 16:34:14 +0200 Subject: Add note to intro on what module extension is for (module interface unit) --- doc/intro.cli | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'doc') 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} -- cgit v1.1