Add C++17 documentation chapter

This commit is contained in:
William S Fulton 2018-05-14 21:23:27 +01:00
commit 066c396ad6
39 changed files with 1131 additions and 1112 deletions

View file

@ -7,7 +7,7 @@
</head>
<body bgcolor="#ffffff">
<H1><a name="Contract">13 Contracts</a></H1>
<H1><a name="Contract">14 Contracts</a></H1>
<!-- INDEX -->
<div class="sectiontoc">
<ul>
@ -39,7 +39,7 @@ When one of the rules is violated by a script, a runtime exception is
generated rather than having the program continue to execute.
</p>
<H2><a name="Contract_nn2">13.1 The %contract directive</a></H2>
<H2><a name="Contract_nn2">14.1 The %contract directive</a></H2>
<p>
@ -95,7 +95,7 @@ RuntimeError: Contract violation: require: (arg1&gt;=0)
</pre>
</div>
<H2><a name="Contract_nn3">13.2 %contract and classes</a></H2>
<H2><a name="Contract_nn3">14.2 %contract and classes</a></H2>
<p>
@ -174,7 +174,7 @@ specified for the derived class all must hold. In the above example,
this means that both the arguments to <tt>Spam::bar</tt> must be positive.
</p>
<H2><a name="Contract_nn4">13.3 Constant aggregation and %aggregate_check</a></H2>
<H2><a name="Contract_nn4">14.3 Constant aggregation and %aggregate_check</a></H2>
<p>
@ -263,7 +263,7 @@ Regrettably, there is no automatic way to perform similar checks with enums valu
release.
</p>
<H2><a name="Contract_nn5">13.4 Notes</a></H2>
<H2><a name="Contract_nn5">14.4 Notes</a></H2>
<p>