Minor editing of C++20 docs

This commit is contained in:
William S Fulton 2022-07-30 17:41:13 +01:00
commit d93a8c2db8

View file

@ -38,24 +38,24 @@ Work has only just begun on adding C++20 support.
<p> <p>
SWIG supports the spaceship operator <tt>&lt;=&gt;</tt> in constant SWIG supports the spaceship operator <tt>&lt;=&gt;</tt> in constant
expressions. To simplifying handling the return value is currently expressions. To simplify handling of the return value type, it is currently
treated as an integer rather than <tt>std::strong_ordering</tt>, etc. treated as an integer rather than <tt>std::strong_ordering</tt>, etc.
In practice we think that should do the right thing in most cases. In practice we think that should do the right thing in most cases.
</p> </p>
<p> <p>
SWIG also recognises <tt>operator&lt;=&gt;</tt> which can be wrapped SWIG also recognises <tt>operator&lt;=&gt;</tt> which can be wrapped
if renamed. There's not currently any default renaming for the operator if renamed. There is not currently any default renaming for the operator
or attempts to automatically map it to a three-way comparison operator or any attempt to automatically map it to a three-way comparison operator
in any target languages that have one. in any of the target languages.
</p> </p>
<H3><a name="CPlusPlus20_lambda_templates">10.2.2 Lambda templates</a></H3> <H3><a name="CPlusPlus20_lambda_templates">10.2.2 Lambda templates</a></H3>
<p> <p>
SWIG should parse lambda templates, but SWIG should parse lambda templates, but like
<a href="CPlusPlus11.html#CPlusPlus11_lambda_functions_and_expressions">like <a href="CPlusPlus11.html#CPlusPlus11_lambda_functions_and_expressions">
non-templated lambdas they aren't currently wrapped</a>. non-templated lambdas</a> they aren't currently wrapped.
</p> </p>
<H2><a name="CPlusPlus20_standard_library_changes">10.3 Standard library changes</a></H2> <H2><a name="CPlusPlus20_standard_library_changes">10.3 Standard library changes</a></H2>