mirror of
https://github.com/boostorg/optional.git
synced 2025-07-19 07:12:06 +02:00
spelling: member
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
committed by
Andrzej Krzemienski
parent
c76b73c48b
commit
581c43f25c
@ -86,7 +86,7 @@ Which gives us the following layout (and smaller total size):
|
|||||||
|
|
||||||
[$images/opt_align3.png]
|
[$images/opt_align3.png]
|
||||||
|
|
||||||
Sometimes it requires detailed consideration what data we make optional. In our case above, if we determine that both minimum and maximum value can be provided or not provided together, but one is never provided without the other, we can make only one optional memebr:
|
Sometimes it requires detailed consideration what data we make optional. In our case above, if we determine that both minimum and maximum value can be provided or not provided together, but one is never provided without the other, we can make only one optional member:
|
||||||
|
|
||||||
struct Limits
|
struct Limits
|
||||||
{
|
{
|
||||||
|
@ -165,7 +165,7 @@
|
|||||||
Sometimes it requires detailed consideration what data we make optional.
|
Sometimes it requires detailed consideration what data we make optional.
|
||||||
In our case above, if we determine that both minimum and maximum value can
|
In our case above, if we determine that both minimum and maximum value can
|
||||||
be provided or not provided together, but one is never provided without the
|
be provided or not provided together, but one is never provided without the
|
||||||
other, we can make only one optional memebr:
|
other, we can make only one optional member:
|
||||||
</p>
|
</p>
|
||||||
<pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">Limits</span>
|
<pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">Limits</span>
|
||||||
<span class="special">{</span>
|
<span class="special">{</span>
|
||||||
|
Reference in New Issue
Block a user