From 419e850ea0239c32548a944947a3d58952f3b37b Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Thu, 24 May 2018 07:02:21 +0100 Subject: [PATCH] Add missing CPlusPlus17.html file Mistakenly omitted from 066c396ad6c1656a477997561def5a6131bafda5 --- Doc/Manual/CPlusPlus17.html | 78 +++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 Doc/Manual/CPlusPlus17.html diff --git a/Doc/Manual/CPlusPlus17.html b/Doc/Manual/CPlusPlus17.html new file mode 100644 index 000000000..690173e6e --- /dev/null +++ b/Doc/Manual/CPlusPlus17.html @@ -0,0 +1,78 @@ + + + +SWIG and C++17 + + + + + +

8 SWIG and C++17

+ +
+ +
+ + + + +

8.1 Introduction

+ + +

This chapter gives you a brief overview about the SWIG +implementation of the C++17 standard. +There isn't much in C++17 that affects SWIG, however, work has only just begun on adding +C++17 support. +

+ +

8.2 Core language changes

+ + +

8.2.1 Nested namespace definitions

+ + +

+C++17 offers a more concise syntax for defining namespaces. +SWIG has support for nested namespace definitions such as: +

+ +
+
+namespace A::B::C {
+  ...
+}
+
+
+ +

+This is the equivalent to the C++98 namespace definitions: +

+ +
+
+namespace A {
+  namespace B {
+    namespace C {
+      ...
+    }
+  }
+}
+
+
+ +

+Compatibility note: SWIG-4.0.0 was the first version to support nested namespace definitions. +

+ +

8.3 Standard library changes

+ + + +