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

@ -463,10 +463,11 @@ __SPACE__
* [*Requires:] `T` is __COPY_CONSTRUCTIBLE__ and `CopyAssignable`. * [*Requires:] `T` is __COPY_CONSTRUCTIBLE__ and `CopyAssignable`.
* [*Effects:] * [*Effects:]
[table [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`]] [[][[*`*this` contains a value]][[*`*this` does not contain a value]]]
[[`rhs` does not contain a value][destroys the contained value by calling `val->T::~T()`][no effect]] [[[*`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`; * [*Returns:] `*this`;
* [*Postconditions:] `bool(rhs) == bool(*this)`. * [*Postconditions:] `bool(rhs) == bool(*this)`.
@ -525,9 +526,10 @@ __SPACE__
* [*Requires:] `T` is __MOVE_CONSTRUCTIBLE__ and `MoveAssignable`. * [*Requires:] `T` is __MOVE_CONSTRUCTIBLE__ and `MoveAssignable`.
* [*Effects:] * [*Effects:]
[table [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)`]] [[][[*`*this` contains a value]][[*`*this` does not contain a value]]]
[[`rhs` does not contain a value][destroys the contained value by calling `val->T::~T()`][no effect]] [[[*`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`; * [*Returns:] `*this`;
* [*Postconditions:] `bool(rhs) == bool(*this)`. * [*Postconditions:] `bool(rhs) == bool(*this)`.
@ -561,9 +563,10 @@ __SPACE__
* [*Effect:] * [*Effect:]
[table [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`]] [[][[*`*this` contains a value]][[*`*this` does not contain a value]]]
[[`rhs` does not contain a value][destroys the contained value by calling `val->T::~T()`][no effect]] [[[*`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`. * [*Returns:] `*this`.
* [*Postconditions:] `bool(rhs) == bool(*this)`. * [*Postconditions:] `bool(rhs) == bool(*this)`.
@ -587,10 +590,11 @@ __SPACE__
[: `template<U> optional& optional<T` ['(not a ref)]`>::operator= ( optional<U>&& rhs ) ;`] [: `template<U> optional& optional<T` ['(not a ref)]`>::operator= ( optional<U>&& rhs ) ;`]
* [*Effect:] * [*Effect:]
[table [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)`]] [[][[*`*this` contains a value]][[*`*this` does not contain a value]]]
[[`rhs` does not contain a value][destroys the contained value by calling `val->T::~T()`][no effect]] [[[*`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`. * [*Returns:] `*this`.
* [*Postconditions:] `bool(rhs) == bool(*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__. * [*Requires:] Lvalues of type `T` shall be swappable and `T` shall be __MOVE_CONSTRUCTIBLE__.
* [*Effects:] * [*Effects:]
[table [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]] [[][[*`*this` contains a value]][[*`*this` 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]] [[[*`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. * [*Postconditions:] The states of `x` and `y` interchanged.
* [*Throws:] If both are initialized, whatever `swap(T&,T&)` throws. If only * [*Throws:] If both are initialized, whatever `swap(T&,T&)` throws. If only

View File

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

View File

@ -146,7 +146,7 @@
</div> </div>
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <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> <td align="right"><div class="copyright-footer"></div></td>
</tr></table> </tr></table>
<hr> <hr>