diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2019-02-11 18:59:16 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2019-02-11 18:59:46 +0000 |
commit | a5b301ba83810f55da9947765dd249a78ec99855 (patch) | |
tree | 3dc8a8be2aeb542e10499a82bf2a9666530d6d63 /Doc | |
parent | be84fc62a9b92ee83e465b600ec21af28606a7a1 (diff) | |
download | swig-a5b301ba83810f55da9947765dd249a78ec99855.tar.gz |
Add a documentation chapter on C++14
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/Manual/CPlusPlus14.html | 59 | ||||
-rw-r--r-- | Doc/Manual/Introduction.html | 5 | ||||
-rw-r--r-- | Doc/Manual/SWIGPlus.html | 6 | ||||
-rw-r--r-- | Doc/Manual/Sections.html | 1 | ||||
-rw-r--r-- | Doc/Manual/chapters | 1 |
5 files changed, 68 insertions, 4 deletions
diff --git a/Doc/Manual/CPlusPlus14.html b/Doc/Manual/CPlusPlus14.html new file mode 100644 index 000000000..32798f302 --- /dev/null +++ b/Doc/Manual/CPlusPlus14.html @@ -0,0 +1,59 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> +<title>SWIG and C++14</title> +<link rel="stylesheet" type="text/css" href="style.css"> +<meta http-equiv="content-type" content="text/html; charset=UTF-8"> +</head> + +<body bgcolor="#ffffff"> +<H1><a name="CPlusPlus14">8 SWIG and C++14</a></H1> +<!-- INDEX --> +<div class="sectiontoc"> +<ul> +<li><a href="#CPlusPlus14_introduction">Introduction</a> +<li><a href="#CPlusPlus14_core_language_changes">Core language changes</a> +<ul> +</ul> +<li><a href="#CPlusPlus14_standard_library_changes">Standard library changes</a> +</ul> +</div> +<!-- INDEX --> + + + +<H2><a name="CPlusPlus14_introduction">8.1 Introduction</a></H2> + + +<p>This chapter gives you a brief overview about the SWIG +implementation of the C++14 standard. +There isn't much in C++14 that affects SWIG, however, work has only just begun on adding +C++14 support. +</p> + +<p> +<b>Compatibility note:</b> SWIG-4.0.0 is the first version to support any C++14 features. +</p> + +<H2><a name="CPlusPlus14_core_language_changes">8.2 Core language changes</a></H2> + + +<H3><a name="CPlusPlus14_binary_literals">Binary integer literals</a></H3> + + +<p> +C++14 added binary integer literals and SWIG supports these. +Example: +</p> + +<div class="code"> +<pre> +int b = 0b101011; +</pre> +</div> + +<H2><a name="CPlusPlus14_standard_library_changes">8.3 Standard library changes</a></H2> + + +</body> +</html> diff --git a/Doc/Manual/Introduction.html b/Doc/Manual/Introduction.html index 17514d021..1a2e26a6d 100644 --- a/Doc/Manual/Introduction.html +++ b/Doc/Manual/Introduction.html @@ -413,8 +413,9 @@ major features include: </ul> <p> -Most of C++11 is also supported. Details are in the <a href="CPlusPlus11.html#CPlusPlus11">C++11</a> section. -C++17 support is covered in the <a href="CPlusPlus17.html#CPlusPlus17">C++17</a> section. +Most of C++11 is also supported. Details are in the <a href="CPlusPlus11.html#CPlusPlus11">C++11</a> chapter. +C++14 support is covered in the <a href="CPlusPlus14.html#CPlusPlus14">C++14</a> chapter. +C++17 support is covered in the <a href="CPlusPlus17.html#CPlusPlus17">C++17</a> chapter. </p> <p> diff --git a/Doc/Manual/SWIGPlus.html b/Doc/Manual/SWIGPlus.html index 1b57860c0..a6cb93f63 100644 --- a/Doc/Manual/SWIGPlus.html +++ b/Doc/Manual/SWIGPlus.html @@ -87,8 +87,10 @@ <p> This chapter describes SWIG's support for wrapping C++. It is mostly concerned about C++ as defined by the C++ 98 and 03 standards. -For C++ 11 features please read the <a href="CPlusPlus11.html">SWIG and C++11</a> chapter. -For C++ 17 features please read the <a href="CPlusPlus17.html">SWIG and C++17</a> chapter. +For additions to the original C++ standard, please read the +<a href="CPlusPlus11.html">SWIG and C++11</a>, +<a href="CPlusPlus14.html">SWIG and C++14</a> and +<a href="CPlusPlus17.html">SWIG and C++17</a> chapters. As a prerequisite, you should first read the chapter <a href="SWIG.html#SWIG">SWIG Basics</a> to see how SWIG wraps ANSI C. Support for C++ builds upon ANSI C diff --git a/Doc/Manual/Sections.html b/Doc/Manual/Sections.html index 1756e8b6a..f57108535 100644 --- a/Doc/Manual/Sections.html +++ b/Doc/Manual/Sections.html @@ -22,6 +22,7 @@ Last update : SWIG-4.0.0 (in progress) <li><a href="SWIG.html#SWIG">SWIG Basics</a> (Read this!)</li> <li><a href="SWIGPlus.html#SWIGPlus">SWIG and C++</a></li> <li><a href="CPlusPlus11.html#CPlusPlus11">SWIG and C++11</a></li> +<li><a href="CPlusPlus14.html#CPlusPlus14">SWIG and C++14</a></li> <li><a href="CPlusPlus17.html#CPlusPlus17">SWIG and C++17</a></li> <li><a href="Preprocessor.html#Preprocessor">The SWIG preprocessor</a></li> <li><a href="Library.html#Library">The SWIG library</a></li> diff --git a/Doc/Manual/chapters b/Doc/Manual/chapters index 4735341b6..2cb2b18a3 100644 --- a/Doc/Manual/chapters +++ b/Doc/Manual/chapters @@ -5,6 +5,7 @@ Scripting.html SWIG.html SWIGPlus.html CPlusPlus11.html +CPlusPlus14.html CPlusPlus17.html Preprocessor.html Library.html |