From d93a8c2db86cbb323fb3106f03079f2c4e330984 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Sat, 30 Jul 2022 17:41:13 +0100 Subject: [PATCH] Minor editing of C++20 docs --- Doc/Manual/CPlusPlus20.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Doc/Manual/CPlusPlus20.html b/Doc/Manual/CPlusPlus20.html index 0f29a03b8..e92ca3a76 100644 --- a/Doc/Manual/CPlusPlus20.html +++ b/Doc/Manual/CPlusPlus20.html @@ -38,24 +38,24 @@ Work has only just begun on adding C++20 support.

SWIG supports the spaceship operator <=> 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 std::strong_ordering, etc. In practice we think that should do the right thing in most cases.

SWIG also recognises operator<=> which can be wrapped -if renamed. There's not currently any default renaming for the operator -or attempts to automatically map it to a three-way comparison operator -in any target languages that have one. +if renamed. There is not currently any default renaming for the operator +or any attempt to automatically map it to a three-way comparison operator +in any of the target languages.

10.2.2 Lambda templates

-SWIG should parse lambda templates, but -like - non-templated lambdas they aren't currently wrapped. +SWIG should parse lambda templates, but like + +non-templated lambdas they aren't currently wrapped.

10.3 Standard library changes