summaryrefslogtreecommitdiff
path: root/doc/html/boost/date_time/wrapping_int2.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/boost/date_time/wrapping_int2.html')
-rw-r--r--doc/html/boost/date_time/wrapping_int2.html54
1 files changed, 27 insertions, 27 deletions
diff --git a/doc/html/boost/date_time/wrapping_int2.html b/doc/html/boost/date_time/wrapping_int2.html
index e9ab243d6a..ed3853e97b 100644
--- a/doc/html/boost/date_time/wrapping_int2.html
+++ b/doc/html/boost/date_time/wrapping_int2.html
@@ -39,61 +39,61 @@
<span class="keyword">typedef</span> <span class="identifier">int_type_</span> <a name="boost.date_time.wrapping_int2.int_type"></a><span class="identifier">int_type</span><span class="special">;</span>
<span class="comment">// <a class="link" href="wrapping_int2.html#boost.date_time.wrapping_int2construct-copy-destruct">construct/copy/destruct</a></span>
- <a class="link" href="wrapping_int2.html#id-1_3_12_15_3_58_1_1_2_7-bb"><span class="identifier">wrapping_int2</span></a><span class="special">(</span><span class="identifier">int_type</span><span class="special">)</span><span class="special">;</span>
+ <a class="link" href="wrapping_int2.html#id-1_3_13_15_3_58_1_1_2_7-bb"><span class="identifier">wrapping_int2</span></a><span class="special">(</span><span class="identifier">int_type</span><span class="special">)</span><span class="special">;</span>
- <span class="comment">// <a class="link" href="wrapping_int2.html#id-1_3_12_15_3_58_1_1_2_5-bb">public static functions</a></span>
- <span class="keyword">static</span> <span class="identifier">int_type</span> <a class="link" href="wrapping_int2.html#id-1_3_12_15_3_58_1_1_2_5_1-bb"><span class="identifier">wrap_value</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
- <span class="keyword">static</span> <span class="identifier">int_type</span> <a class="link" href="wrapping_int2.html#id-1_3_12_15_3_58_1_1_2_5_2-bb"><span class="identifier">min_value</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
+ <span class="comment">// <a class="link" href="wrapping_int2.html#id-1_3_13_15_3_58_1_1_2_5-bb">public static functions</a></span>
+ <span class="keyword">static</span> <span class="identifier">int_type</span> <a class="link" href="wrapping_int2.html#id-1_3_13_15_3_58_1_1_2_5_1-bb"><span class="identifier">wrap_value</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
+ <span class="keyword">static</span> <span class="identifier">int_type</span> <a class="link" href="wrapping_int2.html#id-1_3_13_15_3_58_1_1_2_5_2-bb"><span class="identifier">min_value</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
- <span class="comment">// <a class="link" href="wrapping_int2.html#id-1_3_12_15_3_58_1_1_2_6-bb">public member functions</a></span>
- <span class="identifier">int_type</span> <a class="link" href="wrapping_int2.html#id-1_3_12_15_3_58_1_1_2_6_1-bb"><span class="identifier">as_int</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
- <a class="link" href="wrapping_int2.html#id-1_3_12_15_3_58_1_1_2_6_2-bb"><span class="keyword">operator</span> <span class="identifier">int_type</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
- <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> IntT<span class="special">&gt;</span> <span class="identifier">IntT</span> <a class="link" href="wrapping_int2.html#id-1_3_12_15_3_58_1_1_2_6_3-bb"><span class="identifier">add</span></a><span class="special">(</span><span class="identifier">IntT</span><span class="special">)</span><span class="special">;</span>
- <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> IntT<span class="special">&gt;</span> <span class="identifier">IntT</span> <a class="link" href="wrapping_int2.html#id-1_3_12_15_3_58_1_1_2_6_4-bb"><span class="identifier">subtract</span></a><span class="special">(</span><span class="identifier">IntT</span><span class="special">)</span><span class="special">;</span>
+ <span class="comment">// <a class="link" href="wrapping_int2.html#id-1_3_13_15_3_58_1_1_2_6-bb">public member functions</a></span>
+ <span class="identifier">int_type</span> <a class="link" href="wrapping_int2.html#id-1_3_13_15_3_58_1_1_2_6_1-bb"><span class="identifier">as_int</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
+ <a class="link" href="wrapping_int2.html#id-1_3_13_15_3_58_1_1_2_6_2-bb"><span class="keyword">operator</span> <span class="identifier">int_type</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
+ <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> IntT<span class="special">&gt;</span> <span class="identifier">IntT</span> <a class="link" href="wrapping_int2.html#id-1_3_13_15_3_58_1_1_2_6_3-bb"><span class="identifier">add</span></a><span class="special">(</span><span class="identifier">IntT</span><span class="special">)</span><span class="special">;</span>
+ <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> IntT<span class="special">&gt;</span> <span class="identifier">IntT</span> <a class="link" href="wrapping_int2.html#id-1_3_13_15_3_58_1_1_2_6_4-bb"><span class="identifier">subtract</span></a><span class="special">(</span><span class="identifier">IntT</span><span class="special">)</span><span class="special">;</span>
- <span class="comment">// <a class="link" href="wrapping_int2.html#id-1_3_12_15_3_58_1_1_2_8-bb">private member functions</a></span>
- <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> IntT<span class="special">&gt;</span> <span class="identifier">IntT</span> <a class="link" href="wrapping_int2.html#id-1_3_12_15_3_58_1_1_2_8_1-bb"><span class="identifier">calculate_wrap</span></a><span class="special">(</span><span class="identifier">IntT</span><span class="special">)</span><span class="special">;</span>
+ <span class="comment">// <a class="link" href="wrapping_int2.html#id-1_3_13_15_3_58_1_1_2_8-bb">private member functions</a></span>
+ <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> IntT<span class="special">&gt;</span> <span class="identifier">IntT</span> <a class="link" href="wrapping_int2.html#id-1_3_13_15_3_58_1_1_2_8_1-bb"><span class="identifier">calculate_wrap</span></a><span class="special">(</span><span class="identifier">IntT</span><span class="special">)</span><span class="special">;</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
-<a name="id-1.3.12.15.3.57.4.4"></a><h2>Description</h2>
+<a name="id-1.3.13.15.3.57.4.4"></a><h2>Description</h2>
<p>Bad name, quick impl to fix a bug &#8211; fix later!! This allows the wrap to restart at a value other than 0. </p>
<div class="refsect2">
-<a name="id-1.3.12.15.3.57.4.4.3"></a><h3>
+<a name="id-1.3.13.15.3.57.4.4.3"></a><h3>
<a name="boost.date_time.wrapping_int2construct-copy-destruct"></a><code class="computeroutput">wrapping_int2</code>
public
construct/copy/destruct</h3>
<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem">
-<pre class="literallayout"><a name="id-1_3_12_15_3_58_1_1_2_7-bb"></a><span class="identifier">wrapping_int2</span><span class="special">(</span><span class="identifier">int_type</span> v<span class="special">)</span><span class="special">;</span></pre>
+<pre class="literallayout"><a name="id-1_3_13_15_3_58_1_1_2_7-bb"></a><span class="identifier">wrapping_int2</span><span class="special">(</span><span class="identifier">int_type</span> v<span class="special">)</span><span class="special">;</span></pre>
<p>If initializing value is out of range of [wrap_min, wrap_max], value will be initialized to closest of min or max </p>
</li></ol></div>
</div>
<div class="refsect2">
-<a name="id-1.3.12.15.3.57.4.4.4"></a><h3>
-<a name="id-1_3_12_15_3_58_1_1_2_5-bb"></a><code class="computeroutput">wrapping_int2</code> public static functions</h3>
+<a name="id-1.3.13.15.3.57.4.4.4"></a><h3>
+<a name="id-1_3_13_15_3_58_1_1_2_5-bb"></a><code class="computeroutput">wrapping_int2</code> public static functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">int_type</span> <a name="id-1_3_12_15_3_58_1_1_2_5_1-bb"></a><span class="identifier">wrap_value</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
-<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">int_type</span> <a name="id-1_3_12_15_3_58_1_1_2_5_2-bb"></a><span class="identifier">min_value</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
+<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">int_type</span> <a name="id-1_3_13_15_3_58_1_1_2_5_1-bb"></a><span class="identifier">wrap_value</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
+<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">int_type</span> <a name="id-1_3_13_15_3_58_1_1_2_5_2-bb"></a><span class="identifier">min_value</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
</ol></div>
</div>
<div class="refsect2">
-<a name="id-1.3.12.15.3.57.4.4.5"></a><h3>
-<a name="id-1_3_12_15_3_58_1_1_2_6-bb"></a><code class="computeroutput">wrapping_int2</code> public member functions</h3>
+<a name="id-1.3.13.15.3.57.4.4.5"></a><h3>
+<a name="id-1_3_13_15_3_58_1_1_2_6-bb"></a><code class="computeroutput">wrapping_int2</code> public member functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem">
-<pre class="literallayout"><span class="identifier">int_type</span> <a name="id-1_3_12_15_3_58_1_1_2_6_1-bb"></a><span class="identifier">as_int</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Explicit converion method. </li>
-<li class="listitem"><pre class="literallayout"><a name="id-1_3_12_15_3_58_1_1_2_6_2-bb"></a><span class="keyword">operator</span> <span class="identifier">int_type</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
+<pre class="literallayout"><span class="identifier">int_type</span> <a name="id-1_3_13_15_3_58_1_1_2_6_1-bb"></a><span class="identifier">as_int</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Explicit converion method. </li>
+<li class="listitem"><pre class="literallayout"><a name="id-1_3_13_15_3_58_1_1_2_6_2-bb"></a><span class="keyword">operator</span> <span class="identifier">int_type</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem">
-<pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> IntT<span class="special">&gt;</span> <span class="identifier">IntT</span> <a name="id-1_3_12_15_3_58_1_1_2_6_3-bb"></a><span class="identifier">add</span><span class="special">(</span><span class="identifier">IntT</span> v<span class="special">)</span><span class="special">;</span></pre>Add, return number of wraps performed. <p>The sign of the returned value will indicate which direction the wraps went. Ex: add a negative number and wrapping under could occur, this would be indicated by a negative return value. If wrapping over took place, a positive value would be returned </p>
+<pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> IntT<span class="special">&gt;</span> <span class="identifier">IntT</span> <a name="id-1_3_13_15_3_58_1_1_2_6_3-bb"></a><span class="identifier">add</span><span class="special">(</span><span class="identifier">IntT</span> v<span class="special">)</span><span class="special">;</span></pre>Add, return number of wraps performed. <p>The sign of the returned value will indicate which direction the wraps went. Ex: add a negative number and wrapping under could occur, this would be indicated by a negative return value. If wrapping over took place, a positive value would be returned </p>
</li>
<li class="listitem">
-<pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> IntT<span class="special">&gt;</span> <span class="identifier">IntT</span> <a name="id-1_3_12_15_3_58_1_1_2_6_4-bb"></a><span class="identifier">subtract</span><span class="special">(</span><span class="identifier">IntT</span> v<span class="special">)</span><span class="special">;</span></pre>Subtract will return '-d' if wrapping under took place ('d' is the number of wraps) <p>The sign of the returned value will indicate which direction the wraps went. Ex: subtract a negative number and wrapping over could occur, this would be indicated by a positive return value. If wrapping under took place, a negative value would be returned </p>
+<pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> IntT<span class="special">&gt;</span> <span class="identifier">IntT</span> <a name="id-1_3_13_15_3_58_1_1_2_6_4-bb"></a><span class="identifier">subtract</span><span class="special">(</span><span class="identifier">IntT</span> v<span class="special">)</span><span class="special">;</span></pre>Subtract will return '-d' if wrapping under took place ('d' is the number of wraps) <p>The sign of the returned value will indicate which direction the wraps went. Ex: subtract a negative number and wrapping over could occur, this would be indicated by a positive return value. If wrapping under took place, a negative value would be returned </p>
</li>
</ol></div>
</div>
<div class="refsect2">
-<a name="id-1.3.12.15.3.57.4.4.6"></a><h3>
-<a name="id-1_3_12_15_3_58_1_1_2_8-bb"></a><code class="computeroutput">wrapping_int2</code> private member functions</h3>
-<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> IntT<span class="special">&gt;</span> <span class="identifier">IntT</span> <a name="id-1_3_12_15_3_58_1_1_2_8_1-bb"></a><span class="identifier">calculate_wrap</span><span class="special">(</span><span class="identifier">IntT</span> wrap<span class="special">)</span><span class="special">;</span></pre></li></ol></div>
+<a name="id-1.3.13.15.3.57.4.4.6"></a><h3>
+<a name="id-1_3_13_15_3_58_1_1_2_8-bb"></a><code class="computeroutput">wrapping_int2</code> private member functions</h3>
+<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> IntT<span class="special">&gt;</span> <span class="identifier">IntT</span> <a name="id-1_3_13_15_3_58_1_1_2_8_1-bb"></a><span class="identifier">calculate_wrap</span><span class="special">(</span><span class="identifier">IntT</span> wrap<span class="special">)</span><span class="special">;</span></pre></li></ol></div>
</div>
</div>
</div>