Add C++20 documentation chapter

This commit is contained in:
William S Fulton 2020-06-08 20:52:57 +01:00
commit b7bcb338cf
36 changed files with 1088 additions and 1030 deletions

View file

@ -7,7 +7,7 @@
</head>
<body bgcolor="#ffffff">
<H1><a name="Preprocessor">10 Preprocessing</a></H1>
<H1><a name="Preprocessor">11 Preprocessing</a></H1>
<!-- INDEX -->
<div class="sectiontoc">
<ul>
@ -38,7 +38,7 @@ However, a number of modifications and enhancements have been made. This
chapter describes some of these modifications.
</p>
<H2><a name="Preprocessor_nn2">10.1 File inclusion</a></H2>
<H2><a name="Preprocessor_nn2">11.1 File inclusion</a></H2>
<p>
@ -64,7 +64,7 @@ By default, the <tt>#include</tt> is ignored unless you run SWIG with the
is that you often don't want SWIG to try and wrap everything included
in standard header system headers and auxiliary files.
<H2><a name="Preprocessor_nn3">10.2 File imports</a></H2>
<H2><a name="Preprocessor_nn3">11.2 File imports</a></H2>
<p>
@ -93,7 +93,7 @@ The <tt>-importall</tt> directive tells SWIG to follow all <tt>#include</tt> sta
as imports. This might be useful if you want to extract type definitions from system
header files without generating any wrappers.
<H2><a name="Preprocessor_condition_compilation">10.3 Conditional Compilation</a></H2>
<H2><a name="Preprocessor_condition_compilation">11.3 Conditional Compilation</a></H2>
<p>
@ -165,7 +165,7 @@ way in which an interface is generated or to mix SWIG directives with
C code.
</p>
<H2><a name="Preprocessor_nn5">10.4 Macro Expansion</a></H2>
<H2><a name="Preprocessor_nn5">11.4 Macro Expansion</a></H2>
<p>
@ -220,7 +220,7 @@ like <tt>#x</tt>. This is a non-standard SWIG extension.
</li>
</ul>
<H2><a name="Preprocessor_nn6">10.5 SWIG Macros</a></H2>
<H2><a name="Preprocessor_nn6">11.5 SWIG Macros</a></H2>
<p>
@ -266,7 +266,7 @@ many of SWIG's advanced features and libraries are built using this mechanism (s
support).
</p>
<H2><a name="Preprocessor_nn7">10.6 C99 and GNU Extensions</a></H2>
<H2><a name="Preprocessor_nn7">11.6 C99 and GNU Extensions</a></H2>
<p>
@ -322,14 +322,14 @@ interface building. However, they are used internally to implement a number of
SWIG directives and are provided to make SWIG more compatible with C99 code.
</p>
<H2><a name="Preprocessor_delimiters">10.7 Preprocessing and delimiters</a></H2>
<H2><a name="Preprocessor_delimiters">11.7 Preprocessing and delimiters</a></H2>
<p>
The preprocessor handles { }, " " and %{ %} delimiters differently.
</p>
<H3><a name="Preprocessor_nn8">10.7.1 Preprocessing and %{ ... %} &amp; " ... " delimiters</a></H3>
<H3><a name="Preprocessor_nn8">11.7.1 Preprocessing and %{ ... %} &amp; " ... " delimiters</a></H3>
<p>
@ -354,7 +354,7 @@ the contents of the <tt>%{ ... %}</tt> block are copied without
modification to the output (including all preprocessor directives).
</p>
<H3><a name="Preprocessor_nn9">10.7.2 Preprocessing and { ... } delimiters</a></H3>
<H3><a name="Preprocessor_nn9">11.7.2 Preprocessing and { ... } delimiters</a></H3>
<p>
@ -396,7 +396,7 @@ to actually go into the wrapper file, prefix the preprocessor directives with <t
SWIG will strip the extra <tt>%</tt> and leave the preprocessor directive in the code.
</p>
<H2><a name="Preprocessor_typemap_delimiters">10.8 Preprocessor and Typemaps</a></H2>
<H2><a name="Preprocessor_typemap_delimiters">11.8 Preprocessor and Typemaps</a></H2>
<p>
@ -467,7 +467,7 @@ would generate
</div>
<H2><a name="Preprocessor_nn10">10.9 Viewing preprocessor output</a></H2>
<H2><a name="Preprocessor_nn10">11.9 Viewing preprocessor output</a></H2>
<p>
@ -477,7 +477,7 @@ Instead the results after the preprocessor has run are displayed.
This might be useful as an aid to debugging and viewing the results of macro expansions.
</p>
<H2><a name="Preprocessor_warning_error">10.10 The #error and #warning directives</a></H2>
<H2><a name="Preprocessor_warning_error">11.10 The #error and #warning directives</a></H2>
<p>