Doc: no headers in tables in semantics

This commit is contained in:
Andrzej Krzemienski
2015-05-27 17:06:31 +02:00
parent 4be4646ddd
commit 9b1894a2f3
3 changed files with 118 additions and 118 deletions

View File

@ -464,9 +464,10 @@ __SPACE__
* [*Requires:] `T` is __COPY_CONSTRUCTIBLE__ and `CopyAssignable`.
* [*Effects:]
[table
[[][`*this` contains a value][`*this` does not contain a value]]
[[`rhs` contains a value][assigns `*rhs` to the contained value][initializes the contained value as if direct-initializing an object of type `T` with `*rhs`]]
[[`rhs` does not contain a value][destroys the contained value by calling `val->T::~T()`][no effect]]
[]
[[][[*`*this` contains a value]][[*`*this` does not contain a value]]]
[[[*`rhs` contains a value]][assigns `*rhs` to the contained value][initializes the contained value as if direct-initializing an object of type `T` with `*rhs`]]
[[[*`rhs` does not contain a value]][destroys the contained value by calling `val->T::~T()`][no effect]]
]
* [*Returns:] `*this`;
* [*Postconditions:] `bool(rhs) == bool(*this)`.
@ -525,9 +526,10 @@ __SPACE__
* [*Requires:] `T` is __MOVE_CONSTRUCTIBLE__ and `MoveAssignable`.
* [*Effects:]
[table
[[][`*this` contains a value][`*this` does not contain a value]]
[[`rhs` contains a value][assigns `std::move(*rhs)` to the contained value][initializes the contained value as if direct-initializing an object of type `T` with `std::move(*rhs)`]]
[[`rhs` does not contain a value][destroys the contained value by calling `val->T::~T()`][no effect]]
[]
[[][[*`*this` contains a value]][[*`*this` does not contain a value]]]
[[[*`rhs` contains a value]][assigns `std::move(*rhs)` to the contained value][initializes the contained value as if direct-initializing an object of type `T` with `std::move(*rhs)`]]
[[[*`rhs` does not contain a value]][destroys the contained value by calling `val->T::~T()`][no effect]]
]
* [*Returns:] `*this`;
* [*Postconditions:] `bool(rhs) == bool(*this)`.
@ -561,9 +563,10 @@ __SPACE__
* [*Effect:]
[table
[[][`*this` contains a value][`*this` does not contain a value]]
[[`rhs` contains a value][assigns `*rhs` to the contained value][initializes the contained value as if direct-initializing an object of type `T` with `*rhs`]]
[[`rhs` does not contain a value][destroys the contained value by calling `val->T::~T()`][no effect]]
[]
[[][[*`*this` contains a value]][[*`*this` does not contain a value]]]
[[[*`rhs` contains a value]][assigns `*rhs` to the contained value][initializes the contained value as if direct-initializing an object of type `T` with `*rhs`]]
[[[*`rhs` does not contain a value]][destroys the contained value by calling `val->T::~T()`][no effect]]
]
* [*Returns:] `*this`.
* [*Postconditions:] `bool(rhs) == bool(*this)`.
@ -588,9 +591,10 @@ __SPACE__
* [*Effect:]
[table
[[][`*this` contains a value][`*this` does not contain a value]]
[[`rhs` contains a value][assigns `std::move(*rhs)` to the contained value][initializes the contained value as if direct-initializing an object of type `T` with `std::move(*rhs)`]]
[[`rhs` does not contain a value][destroys the contained value by calling `val->T::~T()`][no effect]]
[]
[[][[*`*this` contains a value]][[*`*this` does not contain a value]]]
[[[*`rhs` contains a value]][assigns `std::move(*rhs)` to the contained value][initializes the contained value as if direct-initializing an object of type `T` with `std::move(*rhs)`]]
[[[*`rhs` does not contain a value]][destroys the contained value by calling `val->T::~T()`][no effect]]
]
* [*Returns:] `*this`.
* [*Postconditions:] `bool(rhs) == bool(*this)`.
@ -1113,9 +1117,10 @@ __SPACE__
* [*Requires:] Lvalues of type `T` shall be swappable and `T` shall be __MOVE_CONSTRUCTIBLE__.
* [*Effects:]
[table
[[][`*this` contains a value][`*this` does not contain a value]]
[[`rhs` contains a value][calls `swap(*(*this), *rhs)`][initializes the contained value of `*this` as if direct-initializing an object of type `T` with the expression `std::move(*rhs)`, followed by `rhs.val->T::~T()`, `*this` contains a value and `rhs` does not contain a value]]
[[`rhs` does not contain a value][initializes the contained value of `rhs` as if direct-initializing an object of type `T` with the expression `std::move(*(*this))`, followed by `val->T::~T()`, `*this` does not contain a value and `rhs` contains a value][no effect]]
[]
[[][[*`*this` contains a value]][[*`*this` does not contain a value]]]
[[[*`rhs` contains a value]][calls `swap(*(*this), *rhs)`][initializes the contained value of `*this` as if direct-initializing an object of type `T` with the expression `std::move(*rhs)`, followed by `rhs.val->T::~T()`, `*this` contains a value and `rhs` does not contain a value]]
[[[*`rhs` does not contain a value]][initializes the contained value of `rhs` as if direct-initializing an object of type `T` with the expression `std::move(*(*this))`, followed by `val->T::~T()`, `*this` does not contain a value and `rhs` contains a value][no effect]]
]
* [*Postconditions:] The states of `x` and `y` interchanged.
* [*Throws:] If both are initialized, whatever `swap(T&,T&)` throws. If only

View File

@ -838,28 +838,27 @@
<col>
<col>
</colgroup>
<thead><tr>
<th>
</th>
<th>
<p>
<code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code>
contains a value
</p>
</th>
<th>
<p>
<code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code>
does not contain a value
</p>
</th>
</tr></thead>
<thead><tr></tr></thead>
<tbody>
<tr>
<td>
</td>
<td>
<p>
<code class="computeroutput"><span class="identifier">rhs</span></code> contains
a value
<span class="bold"><strong><code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> contains a value</strong></span>
</p>
</td>
<td>
<p>
<span class="bold"><strong><code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> does not contain a value</strong></span>
</p>
</td>
</tr>
<tr>
<td>
<p>
<span class="bold"><strong><code class="computeroutput"><span class="identifier">rhs</span></code>
contains a value</strong></span>
</p>
</td>
<td>
@ -879,8 +878,8 @@
<tr>
<td>
<p>
<code class="computeroutput"><span class="identifier">rhs</span></code> does
not contain a value
<span class="bold"><strong><code class="computeroutput"><span class="identifier">rhs</span></code>
does not contain a value</strong></span>
</p>
</td>
<td>
@ -995,28 +994,27 @@
<col>
<col>
</colgroup>
<thead><tr>
<th>
</th>
<th>
<p>
<code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code>
contains a value
</p>
</th>
<th>
<p>
<code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code>
does not contain a value
</p>
</th>
</tr></thead>
<thead><tr></tr></thead>
<tbody>
<tr>
<td>
</td>
<td>
<p>
<code class="computeroutput"><span class="identifier">rhs</span></code> contains
a value
<span class="bold"><strong><code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> contains a value</strong></span>
</p>
</td>
<td>
<p>
<span class="bold"><strong><code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> does not contain a value</strong></span>
</p>
</td>
</tr>
<tr>
<td>
<p>
<span class="bold"><strong><code class="computeroutput"><span class="identifier">rhs</span></code>
contains a value</strong></span>
</p>
</td>
<td>
@ -1035,8 +1033,8 @@
<tr>
<td>
<p>
<code class="computeroutput"><span class="identifier">rhs</span></code> does
not contain a value
<span class="bold"><strong><code class="computeroutput"><span class="identifier">rhs</span></code>
does not contain a value</strong></span>
</p>
</td>
<td>
@ -1117,28 +1115,27 @@
<col>
<col>
</colgroup>
<thead><tr>
<th>
</th>
<th>
<p>
<code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code>
contains a value
</p>
</th>
<th>
<p>
<code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code>
does not contain a value
</p>
</th>
</tr></thead>
<thead><tr></tr></thead>
<tbody>
<tr>
<td>
</td>
<td>
<p>
<code class="computeroutput"><span class="identifier">rhs</span></code> contains
a value
<span class="bold"><strong><code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> contains a value</strong></span>
</p>
</td>
<td>
<p>
<span class="bold"><strong><code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> does not contain a value</strong></span>
</p>
</td>
</tr>
<tr>
<td>
<p>
<span class="bold"><strong><code class="computeroutput"><span class="identifier">rhs</span></code>
contains a value</strong></span>
</p>
</td>
<td>
@ -1158,8 +1155,8 @@
<tr>
<td>
<p>
<code class="computeroutput"><span class="identifier">rhs</span></code> does
not contain a value
<span class="bold"><strong><code class="computeroutput"><span class="identifier">rhs</span></code>
does not contain a value</strong></span>
</p>
</td>
<td>
@ -1222,28 +1219,27 @@
<col>
<col>
</colgroup>
<thead><tr>
<th>
</th>
<th>
<p>
<code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code>
contains a value
</p>
</th>
<th>
<p>
<code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code>
does not contain a value
</p>
</th>
</tr></thead>
<thead><tr></tr></thead>
<tbody>
<tr>
<td>
</td>
<td>
<p>
<code class="computeroutput"><span class="identifier">rhs</span></code> contains
a value
<span class="bold"><strong><code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> contains a value</strong></span>
</p>
</td>
<td>
<p>
<span class="bold"><strong><code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> does not contain a value</strong></span>
</p>
</td>
</tr>
<tr>
<td>
<p>
<span class="bold"><strong><code class="computeroutput"><span class="identifier">rhs</span></code>
contains a value</strong></span>
</p>
</td>
<td>
@ -1262,8 +1258,8 @@
<tr>
<td>
<p>
<code class="computeroutput"><span class="identifier">rhs</span></code> does
not contain a value
<span class="bold"><strong><code class="computeroutput"><span class="identifier">rhs</span></code>
does not contain a value</strong></span>
</p>
</td>
<td>
@ -2274,28 +2270,27 @@
<col>
<col>
</colgroup>
<thead><tr>
<th>
</th>
<th>
<p>
<code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code>
contains a value
</p>
</th>
<th>
<p>
<code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code>
does not contain a value
</p>
</th>
</tr></thead>
<thead><tr></tr></thead>
<tbody>
<tr>
<td>
</td>
<td>
<p>
<code class="computeroutput"><span class="identifier">rhs</span></code> contains
a value
<span class="bold"><strong><code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> contains a value</strong></span>
</p>
</td>
<td>
<p>
<span class="bold"><strong><code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> does not contain a value</strong></span>
</p>
</td>
</tr>
<tr>
<td>
<p>
<span class="bold"><strong><code class="computeroutput"><span class="identifier">rhs</span></code>
contains a value</strong></span>
</p>
</td>
<td>
@ -2317,8 +2312,8 @@
<tr>
<td>
<p>
<code class="computeroutput"><span class="identifier">rhs</span></code> does
not contain a value
<span class="bold"><strong><code class="computeroutput"><span class="identifier">rhs</span></code>
does not contain a value</strong></span>
</p>
</td>
<td>

View File

@ -146,7 +146,7 @@
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"><p><small>Last revised: May 15, 2015 at 14:16:05 GMT</small></p></td>
<td align="left"><p><small>Last revised: May 27, 2015 at 12:41:23 GMT</small></p></td>
<td align="right"><div class="copyright-footer"></div></td>
</tr></table>
<hr>