Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r63929 - in sandbox/SOC/2010/bits_and_ints: boost/integer libs/integer/doc libs/integer/doc/html libs/integer/doc/html/boost_integer
From: muriloufg_at_[hidden]
Date: 2010-07-12 16:57:40


Author: murilov
Date: 2010-07-12 16:57:38 EDT (Mon, 12 Jul 2010)
New Revision: 63929
URL: http://svn.boost.org/trac/boost/changeset/63929

Log:
round_power_2.hpp renamed to round_pow2
Fixed documentation
Fixed bits_and_ints.hpp forwarder
Changed the round_pow2.hpp's functions
Added:
   sandbox/SOC/2010/bits_and_ints/boost/integer/round_pow2.hpp (contents, props changed)
Removed:
   sandbox/SOC/2010/bits_and_ints/boost/integer/round_power_2.hpp
Text files modified:
   sandbox/SOC/2010/bits_and_ints/boost/integer/bits_and_ints.hpp | 9 ++++-
   sandbox/SOC/2010/bits_and_ints/libs/integer/doc/bits_and_ints.qbk | 33 ++++++++++++++++--
   sandbox/SOC/2010/bits_and_ints/libs/integer/doc/html/boost_integer/bits_and_ints.html | 70 ++++++++++++++++++++++++++++------------
   sandbox/SOC/2010/bits_and_ints/libs/integer/doc/html/boost_integer/history.html | 4 +-
   sandbox/SOC/2010/bits_and_ints/libs/integer/doc/html/index.html | 2
   5 files changed, 87 insertions(+), 31 deletions(-)

Modified: sandbox/SOC/2010/bits_and_ints/boost/integer/bits_and_ints.hpp
==============================================================================
--- sandbox/SOC/2010/bits_and_ints/boost/integer/bits_and_ints.hpp (original)
+++ sandbox/SOC/2010/bits_and_ints/boost/integer/bits_and_ints.hpp 2010-07-12 16:57:38 EDT (Mon, 12 Jul 2010)
@@ -22,15 +22,20 @@
 #include <boost/integer/same_sign.hpp>
 #include <boost/integer/static_same_sign.hpp>
 #include <boost/integer/pop_count.hpp>
+#include <boost/integer/static_pop_count.hpp>
 #include <boost/integer/interleave.hpp>
 #include <boost/integer/count_trailing_zeros.hpp>
+#include <boost/integer/static_count_trailing_zeros.hpp>
 #include <boost/integer/clear_least_bit_set.hpp>
+#include <boost/integer/static_clear_least_bit_set.hpp>
 #include <boost/integer/swap.hpp>
 #include <boost/integer/safe_avg.hpp>
-#include <boost/integer/round_power_2.hpp>
+#include <boost/integer/static_safe_avg.hpp>
+#include <boost/integer/round_pow2.hpp>
+#include <boost/integer/isign.hpp>
+#include <boost/integer/static_isign.hpp>
 #include <boost/integer/is_integral_constant.hpp>
 #include <boost/integer/static_abs.hpp>
 #include <boost/integer/static_gcd.hpp>
 #include <boost/integer/static_lcm.hpp>
-
 #endif

Added: sandbox/SOC/2010/bits_and_ints/boost/integer/round_pow2.hpp
==============================================================================
--- (empty file)
+++ sandbox/SOC/2010/bits_and_ints/boost/integer/round_pow2.hpp 2010-07-12 16:57:38 EDT (Mon, 12 Jul 2010)
@@ -0,0 +1,143 @@
+// Boost integer/round_pow2.hpp header file ------------------------------//
+
+// (C) Copyright Murilo Adriano Vasconcelos 2010.
+// Distributed under the Boost Software License, Version 1.0. (See
+// accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt
+
+// See http://www.boost.org for updates, documentation, and revision history.
+
+
+#ifndef BOOST_POWER_2_ROUND
+#define BOOST_POWER_2_ROUND
+
+#include <boost/utility/enable_if.hpp>
+#include <boost/type_traits/is_integral.hpp>
+
+/*
+ * The functions declared in this file rounds up or down an positive integral to the next power of 2.
+ *
+ * The functions `ceil_pow2()' rounds up and the functions
+ * `floor_pow2()' rounds down.
+ *
+ * Usage:
+ *
+ * T x = ceil_pow2(y); // rounds down
+ * T z = floor_pow2(w); // rounds up
+ *
+ * Note: for negative integrals, the result is undefined
+ */
+
+namespace boost {
+
+template <typename T>
+typename enable_if_c<is_integral<T>::value && sizeof(T) == 1, T>::type
+ceil_pow2(T value)
+{
+ value = value - 1;
+ value = value | (value >> 1);
+ value = value | (value >> 2);
+ value = value | (value >> 4);
+
+ return value + 1;
+}
+
+template <typename T>
+typename enable_if_c<is_integral<T>::value && sizeof(T) == 2, T>::type
+ceil_pow2(T value)
+{
+ value = value - 1;
+ value = value | (value >> 1);
+ value = value | (value >> 2);
+ value = value | (value >> 4);
+ value = value | (value >> 8);
+
+ return value + 1;
+}
+
+template <typename T>
+typename enable_if_c<is_integral<T>::value && sizeof(T) == 4, T>::type
+ceil_pow2(T value)
+{
+ value = value - 1;
+ value = value | (value >> 1);
+ value = value | (value >> 2);
+ value = value | (value >> 4);
+ value = value | (value >> 8);
+ value = value | (value >> 16);
+
+ return value + 1;
+}
+
+#ifndef BOOST_HAS_INT64_T
+template <typename T>
+typename enable_if_c<is_integral<T>::value && sizeof(T) == 8, T>::type
+ceil_pow2(T value)
+{
+ value = value - 1;
+ value = value | (value >> 1);
+ value = value | (value >> 2);
+ value = value | (value >> 4);
+ value = value | (value >> 8);
+ value = value | (value >> 16);
+ value = value | (value >> 32);
+
+ return value + 1;
+}
+#endif
+
+template <typename T>
+typename enable_if_c<is_integral<T>::value && sizeof(T) == 1, T>::type
+floor_pow2(T value)
+{
+ value = value | (value >> 1);
+ value = value | (value >> 2);
+ value = value | (value >> 4);
+
+ return value - (value >> 1);
+}
+
+template <typename T>
+typename enable_if_c<is_integral<T>::value && sizeof(T) == 2, T>::type
+floor_pow2(T value)
+{
+ value = value | (value >> 1);
+ value = value | (value >> 2);
+ value = value | (value >> 4);
+ value = value | (value >> 8);
+
+ return value - (value >> 1);
+}
+
+template <typename T>
+typename enable_if_c<is_integral<T>::value && sizeof(T) == 4, T>::type
+floor_pow2(T value)
+{
+ value = value | (value >> 1);
+ value = value | (value >> 2);
+ value = value | (value >> 4);
+ value = value | (value >> 8);
+ value = value | (value >> 16);
+
+ return value - (value >> 1);
+}
+
+#ifndef BOOST_HAS_INT64_T
+template <typename T>
+typename enable_if_c<is_integral<T>::value && sizeof(T) == 8, T>::type
+floor_pow2(T value)
+{
+ value = value | (value >> 1);
+ value = value | (value >> 2);
+ value = value | (value >> 4);
+ value = value | (value >> 8);
+ value = value | (value >> 16);
+ value = value | (value >> 32);
+
+ return value - (value >> 1);
+}
+#endif
+
+}
+
+#endif

Deleted: sandbox/SOC/2010/bits_and_ints/boost/integer/round_power_2.hpp
==============================================================================
--- sandbox/SOC/2010/bits_and_ints/boost/integer/round_power_2.hpp 2010-07-12 16:57:38 EDT (Mon, 12 Jul 2010)
+++ (empty file)
@@ -1,122 +0,0 @@
-// Boost integer/round_power_2.hpp header file ------------------------------//
-
-// (C) Copyright Murilo Adriano Vasconcelos 2010.
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt
-
-// See http://www.boost.org for updates, documentation, and revision history.
-
-
-#ifndef BOOST_POWER_2_ROUND
-#define BOOST_POWER_2_ROUND
-
-/*
- * The functions declared in this file rounds up or down an integral to the next power of 2.
- *
- * The functions `ceil_pow2()' rounds up and the functions
- * `floor_pow2()' rounds down.
- *
- * Usage:
- *
- * T x = ceil_pow2(y); // rounds down
- * T z = floor_pow2(w); // rounds up
- */
-
-namespace boost {
-
-uint8_t ceil_pow2(uint8_t value)
-{
- value = value - 1;
- value = value | (value >> 1);
- value = value | (value >> 2);
- value = value | (value >> 4);
-
- return value + 1;
-}
-
-uint16_t ceil_pow2(uint16_t value)
-{
- value = value - 1;
- value = value | (value >> 1);
- value = value | (value >> 2);
- value = value | (value >> 4);
- value = value | (value >> 8);
-
- return value + 1;
-}
-
-uint32_t ceil_pow2(uint32_t value)
-{
- value = value - 1;
- value = value | (value >> 1);
- value = value | (value >> 2);
- value = value | (value >> 4);
- value = value | (value >> 8);
- value = value | (value >> 16);
-
- return value + 1;
-}
-
-#ifndef BOOST_HAS_INT64_T
-uint64_t ceil_pow2(uint64_t value)
-{
- value = value - 1;
- value = value | (value >> 1);
- value = value | (value >> 2);
- value = value | (value >> 4);
- value = value | (value >> 8);
- value = value | (value >> 16);
- value = value | (value >> 32);
-
- return value + 1;
-}
-#endif
-
-uint8_t floor_pow2(uint8_t value)
-{
- value = value | (value >> 1);
- value = value | (value >> 2);
- value = value | (value >> 4);
-
- return value - (value >> 1);
-}
-
-uint16_t floor_pow2(uint16_t value)
-{
- value = value | (value >> 1);
- value = value | (value >> 2);
- value = value | (value >> 4);
- value = value | (value >> 8);
-
- return value - (value >> 1);
-}
-
-uint32_t floor_pow2(uint32_t value)
-{
- value = value | (value >> 1);
- value = value | (value >> 2);
- value = value | (value >> 4);
- value = value | (value >> 8);
- value = value | (value >> 16);
-
- return value - (value >> 1);
-}
-
-#ifndef BOOST_HAS_INT64_T
-uint64_t floor_pow2(uint64_t value)
-{
- value = value | (value >> 1);
- value = value | (value >> 2);
- value = value | (value >> 4);
- value = value | (value >> 8);
- value = value | (value >> 16);
- value = value | (value >> 32);
-
- return value - (value >> 1);
-}
-#endif
-
-}
-
-#endif

Modified: sandbox/SOC/2010/bits_and_ints/libs/integer/doc/bits_and_ints.qbk
==============================================================================
--- sandbox/SOC/2010/bits_and_ints/libs/integer/doc/bits_and_ints.qbk (original)
+++ sandbox/SOC/2010/bits_and_ints/libs/integer/doc/bits_and_ints.qbk 2010-07-12 16:57:38 EDT (Mon, 12 Jul 2010)
@@ -475,9 +475,9 @@
 [endsect]
 
 [section Round to Power of 2 functions]
-This function rounds up and down integral values to the next power of 2.
+This function rounds up and down positive integral values to the next power of 2.
 The `ceil_pow2` function rounds up and `floor_pow2` function rounds down.
-These functions are defined on [@../../../../boost/integer/round_power_2.hpp <boost/integer/round_power_2.hpp>]
+These functions are defined on [@../../../../boost/integer/round_pow2.hpp <boost/integer/round_pow2.hpp>]
 
 [section Synopsis]
 
@@ -486,7 +486,8 @@
         
 [endsect]
 
-*[*Requires: ] `T` must be convertible to `uint8_t` or `uint16_t` or `uint32_t` or `uint64_t`.
+*[*Requires: ] `T` must be an integral type and `value` must be positive. If `value` is negative, the result is
+undefined.
 
 *[*Returns: ]
         * `ceil_pow2()` returns `value` rounded [*up] to the lesser power of two greater than or equal to `value.
@@ -591,14 +592,16 @@
 
 [endsect]
 
-[section:bin_utils Binary Utilities]
-The header [@../../../../boost/integer/bin_utils.hpp <boost/integer/bin_utils.hpp>] cotains some metafunctions to handle binary data.
+[section:bit_utils Binary Utilities]
+The header [@../../../../boost/integer/bit_utils.hpp <boost/integer/bit_utils.hpp>] cotains some metafunctions to handle binary data.
 All the metafunctions have an member varible named `value` where will be the result.
 
 [section Synopsis]
 
         namespace boost
         {
+
+ // Compile-time version
                 
         // Sets the bit `pos' in data
         template <typename T, T data, unsigned char pos>
@@ -631,6 +634,19 @@
         struct test_bit { static const bool value = ``['implementation-defined]``; };
         
         } // mpl
+
+ // Runtime version
+ template <typename T>
+ inline T set_bit(T data, unsigned char pos);
+
+ template <typename T>
+ inline T clear_bit(T data, unsigned char pos);
+
+ template <typename T>
+ inline T flip_bit(T data, unsigned char pos);
+
+ template <typename T>
+ inline bool test_bit(T data, unsigned char pos);
                 
         } // boost
 
@@ -709,6 +725,13 @@
         bool new_value = flip_bit<int, 10, 2>::value;
 
 [endsect]
+
+[section Runtime version]
+
+For all runtime functions, all remarks and requirement are equals to the `static_`-prefixed version.
+
+[endsect]
+
 [endsect]
 
 [endsect]
\ No newline at end of file

Modified: sandbox/SOC/2010/bits_and_ints/libs/integer/doc/html/boost_integer/bits_and_ints.html
==============================================================================
--- sandbox/SOC/2010/bits_and_ints/libs/integer/doc/html/boost_integer/bits_and_ints.html (original)
+++ sandbox/SOC/2010/bits_and_ints/libs/integer/doc/html/boost_integer/bits_and_ints.html 2010-07-12 16:57:38 EDT (Mon, 12 Jul 2010)
@@ -50,7 +50,7 @@
       Least Common Multiple </a></span></dt>
 <dt><span class="section"><a href="bits_and_ints.html#boost_integer.bits_and_ints.mpl_greatest_common_divisor_">MPL
       Greatest Common Divisor </a></span></dt>
-<dt><span class="section"> Binary Utilities</span></dt>
+<dt><span class="section"> Binary Utilities</span></dt>
 </dl></div>
 <div class="section" title="Overview">
 <div class="titlepage"><div><div><h3 class="title">
@@ -1108,10 +1108,10 @@
 </h3></div></div></div>
 <div class="toc"><dl><dt><span class="section">Synopsis</span></dt></dl></div>
 <p>
- This function rounds up and down integral values to the next power of 2.
- The <code class="computeroutput"><span class="identifier">ceil_pow2</span></code> function rounds
- up and <code class="computeroutput"><span class="identifier">floor_pow2</span></code> function
- rounds down. These functions are defined on <boost/integer/round_power_2.hpp>
+ This function rounds up and down positive integral values to the next power
+ of 2. The <code class="computeroutput"><span class="identifier">ceil_pow2</span></code> function
+ rounds up and <code class="computeroutput"><span class="identifier">floor_pow2</span></code>
+ function rounds down. These functions are defined on <boost/integer/round_pow2.hpp>
       </p>
 <div class="section" title="Synopsis">
 <div class="titlepage"><div><div><h4 class="title">
@@ -1124,8 +1124,9 @@
 <div class="itemizedlist"><ul class="itemizedlist" type="disc">
 <li class="listitem">
 <span class="bold"><strong>Requires: </strong></span><code class="computeroutput"><span class="identifier">T</span></code>
- must be convertible to <code class="computeroutput"><span class="identifier">uint8_t</span></code>
- or <code class="computeroutput"><span class="identifier">uint16_t</span></code> or <code class="computeroutput"><span class="identifier">uint32_t</span></code> or <code class="computeroutput"><span class="identifier">uint64_t</span></code>.
+ must be an integral type and <code class="computeroutput"><span class="identifier">value</span></code>
+ must be positive. If <code class="computeroutput"><span class="identifier">value</span></code>
+ is negative, the result is undefined.
         </li>
 <li class="listitem">
 <span class="bold"><strong>Returns: </strong></span><div class="itemizedlist"><ul class="itemizedlist" type="circle">
@@ -1320,35 +1321,39 @@
 </div>
 <div class="section" title="Binary Utilities">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.bits_and_ints.bin_utils"></a><a class="link" href="bits_and_ints.html#boost_integer.bits_and_ints.bin_utils" title="Binary Utilities"> Binary Utilities</a>
+<a name="boost_integer.bits_and_ints.bit_utils"></a><a class="link" href="bits_and_ints.html#boost_integer.bits_and_ints.bit_utils" title="Binary Utilities"> Binary Utilities</a>
 </h3></div></div></div>
 <div class="toc"><dl>
-<dt><span class="section">Synopsis</span></dt>
-<dt><span class="section"><a href="bits_and_ints.html#boost_integer.bits_and_ints.bin_utils.template_class__static_set_bit____and__mpl__set_bit_">Template
+<dt><span class="section">Synopsis</span></dt>
+<dt><span class="section"><a href="bits_and_ints.html#boost_integer.bits_and_ints.bit_utils.template_class__static_set_bit____and__mpl__set_bit_">Template
         Class <code class="computeroutput"><span class="identifier">static_set_bit</span><span class="special">&lt;&gt;</span></code>
         and <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">set_bit</span></code></a></span></dt>
-<dt><span class="section"><a href="bits_and_ints.html#boost_integer.bits_and_ints.bin_utils.template_class__mpl__clear_bit____and__static_clear_bit___">Template
+<dt><span class="section"><a href="bits_and_ints.html#boost_integer.bits_and_ints.bit_utils.template_class__mpl__clear_bit____and__static_clear_bit___">Template
         Class <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">clear_bit</span><span class="special">&lt;&gt;</span></code>
         and <code class="computeroutput"><span class="identifier">static_clear_bit</span><span class="special">&lt;&gt;</span></code></a></span></dt>
-<dt><span class="section"><a href="bits_and_ints.html#boost_integer.bits_and_ints.bin_utils.template_class__mpl__test_bit__and__static_test_bit___">Template
+<dt><span class="section"><a href="bits_and_ints.html#boost_integer.bits_and_ints.bit_utils.template_class__mpl__test_bit__and__static_test_bit___">Template
         Class <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">test_bit</span></code> and <code class="computeroutput"><span class="identifier">static_test_bit</span><span class="special">&lt;&gt;</span></code></a></span></dt>
-<dt><span class="section"><a href="bits_and_ints.html#boost_integer.bits_and_ints.bin_utils.template_class__mpl__flip_bit____and__static_flip_bit___">Template
+<dt><span class="section"><a href="bits_and_ints.html#boost_integer.bits_and_ints.bit_utils.template_class__mpl__flip_bit____and__static_flip_bit___">Template
         Class <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">flip_bit</span><span class="special">&lt;&gt;</span></code>
         and <code class="computeroutput"><span class="identifier">static_flip_bit</span><span class="special">&lt;&gt;</span></code></a></span></dt>
+<dt><span class="section"><a href="bits_and_ints.html#boost_integer.bits_and_ints.bit_utils.runtime_version">Runtime
+ version</a></span></dt>
 </dl></div>
 <p>
- The header <boost/integer/bin_utils.hpp>
+ The header <boost/integer/bit_utils.hpp>
         cotains some metafunctions to handle binary data. All the metafunctions have
         an member varible named <code class="computeroutput"><span class="identifier">value</span></code>
         where will be the result.
       </p>
 <div class="section" title="Synopsis">
 <div class="titlepage"><div><div><h4 class="title">
-<a name="boost_integer.bits_and_ints.bin_utils.synopsis"></a><a class="link" href="bits_and_ints.html#boost_integer.bits_and_ints.bin_utils.synopsis" title="Synopsis">Synopsis</a>
+<a name="boost_integer.bits_and_ints.bit_utils.synopsis"></a><a class="link" href="bits_and_ints.html#boost_integer.bits_and_ints.bit_utils.synopsis" title="Synopsis">Synopsis</a>
 </h4></div></div></div>
 <pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span>
 <span class="special">{</span>
-
+
+<span class="comment">// Compile-time version
+</span>
 <span class="comment">// Sets the bit `pos' in data
 </span><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span> <span class="identifier">data</span><span class="special">,</span> <span class="keyword">unsigned</span> <span class="keyword">char</span> <span class="identifier">pos</span><span class="special">&gt;</span>
 <span class="keyword">struct</span> <span class="identifier">static_set_bit</span> <span class="special">{</span> <span class="keyword">static</span> <span class="keyword">const</span> <span class="identifier">T</span> <span class="identifier">value</span> <span class="special">=</span> <span class="emphasis"><em>implementation-defined</em></span><span class="special">;</span> <span class="special">};</span>
@@ -1380,13 +1385,26 @@
 <span class="keyword">struct</span> <span class="identifier">test_bit</span> <span class="special">{</span> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keyword">bool</span> <span class="identifier">value</span> <span class="special">=</span> <span class="emphasis"><em>implementation-defined</em></span><span class="special">;</span> <span class="special">};</span>
 
 <span class="special">}</span> <span class="comment">// mpl
-</span>
+</span>
+<span class="comment">// Runtime verion
+</span><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">&gt;</span>
+<span class="keyword">inline</span> <span class="identifier">T</span> <span class="identifier">set_bit</span><span class="special">(</span><span class="identifier">T</span> <span class="identifier">data</span><span class="special">,</span> <span class="keyword">unsigned</span> <span class="keyword">char</span> <span class="identifier">pos</span><span class="special">);</span>
+
+<span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">&gt;</span>
+<span class="keyword">inline</span> <span class="identifier">T</span> <span class="identifier">clear_bit</span><span class="special">(</span><span class="identifier">T</span> <span class="identifier">data</span><span class="special">,</span> <span class="keyword">unsigned</span> <span class="keyword">char</span> <span class="identifier">pos</span><span class="special">);</span>
+
+<span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">&gt;</span>
+<span class="keyword">inline</span> <span class="identifier">T</span> <span class="identifier">flip_bit</span><span class="special">(</span><span class="identifier">T</span> <span class="identifier">data</span><span class="special">,</span> <span class="keyword">unsigned</span> <span class="keyword">char</span> <span class="identifier">pos</span><span class="special">);</span>
+
+<span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">&gt;</span>
+<span class="keyword">inline</span> <span class="keyword">bool</span> <span class="identifier">test_bit</span><span class="special">(</span><span class="identifier">T</span> <span class="identifier">data</span><span class="special">,</span> <span class="keyword">unsigned</span> <span class="keyword">char</span> <span class="identifier">pos</span><span class="special">);</span>
+
 <span class="special">}</span> <span class="comment">// boost
 </span></pre>
 </div>
 <div class="section" title="Template Class static_set_bit&lt;&gt; and mpl::set_bit">
 <div class="titlepage"><div><div><h4 class="title">
-<a name="boost_integer.bits_and_ints.bin_utils.template_class__static_set_bit____and__mpl__set_bit_"></a><a class="link" href="bits_and_ints.html#boost_integer.bits_and_ints.bin_utils.template_class__static_set_bit____and__mpl__set_bit_" title="Template Class static_set_bit&lt;&gt; and mpl::set_bit">Template
+<a name="boost_integer.bits_and_ints.bit_utils.template_class__static_set_bit____and__mpl__set_bit_"></a><a class="link" href="bits_and_ints.html#boost_integer.bits_and_ints.bit_utils.template_class__static_set_bit____and__mpl__set_bit_" title="Template Class static_set_bit&lt;&gt; and mpl::set_bit">Template
         Class <code class="computeroutput"><span class="identifier">static_set_bit</span><span class="special">&lt;&gt;</span></code>
         and <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">set_bit</span></code></a>
 </h4></div></div></div>
@@ -1423,7 +1441,7 @@
 </div>
 <div class="section" title="Template Class mpl::clear_bit&lt;&gt; and static_clear_bit&lt;&gt;">
 <div class="titlepage"><div><div><h4 class="title">
-<a name="boost_integer.bits_and_ints.bin_utils.template_class__mpl__clear_bit____and__static_clear_bit___"></a><a class="link" href="bits_and_ints.html#boost_integer.bits_and_ints.bin_utils.template_class__mpl__clear_bit____and__static_clear_bit___" title="Template Class mpl::clear_bit&lt;&gt; and static_clear_bit&lt;&gt;">Template
+<a name="boost_integer.bits_and_ints.bit_utils.template_class__mpl__clear_bit____and__static_clear_bit___"></a><a class="link" href="bits_and_ints.html#boost_integer.bits_and_ints.bit_utils.template_class__mpl__clear_bit____and__static_clear_bit___" title="Template Class mpl::clear_bit&lt;&gt; and static_clear_bit&lt;&gt;">Template
         Class <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">clear_bit</span><span class="special">&lt;&gt;</span></code>
         and <code class="computeroutput"><span class="identifier">static_clear_bit</span><span class="special">&lt;&gt;</span></code></a>
 </h4></div></div></div>
@@ -1460,7 +1478,7 @@
 </div>
 <div class="section" title="Template Class mpl::test_bit and static_test_bit&lt;&gt;">
 <div class="titlepage"><div><div><h4 class="title">
-<a name="boost_integer.bits_and_ints.bin_utils.template_class__mpl__test_bit__and__static_test_bit___"></a><a class="link" href="bits_and_ints.html#boost_integer.bits_and_ints.bin_utils.template_class__mpl__test_bit__and__static_test_bit___" title="Template Class mpl::test_bit and static_test_bit&lt;&gt;">Template
+<a name="boost_integer.bits_and_ints.bit_utils.template_class__mpl__test_bit__and__static_test_bit___"></a><a class="link" href="bits_and_ints.html#boost_integer.bits_and_ints.bit_utils.template_class__mpl__test_bit__and__static_test_bit___" title="Template Class mpl::test_bit and static_test_bit&lt;&gt;">Template
         Class <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">test_bit</span></code> and <code class="computeroutput"><span class="identifier">static_test_bit</span><span class="special">&lt;&gt;</span></code></a>
 </h4></div></div></div>
 <p>
@@ -1496,7 +1514,7 @@
 </div>
 <div class="section" title="Template Class mpl::flip_bit&lt;&gt; and static_flip_bit&lt;&gt;">
 <div class="titlepage"><div><div><h4 class="title">
-<a name="boost_integer.bits_and_ints.bin_utils.template_class__mpl__flip_bit____and__static_flip_bit___"></a><a class="link" href="bits_and_ints.html#boost_integer.bits_and_ints.bin_utils.template_class__mpl__flip_bit____and__static_flip_bit___" title="Template Class mpl::flip_bit&lt;&gt; and static_flip_bit&lt;&gt;">Template
+<a name="boost_integer.bits_and_ints.bit_utils.template_class__mpl__flip_bit____and__static_flip_bit___"></a><a class="link" href="bits_and_ints.html#boost_integer.bits_and_ints.bit_utils.template_class__mpl__flip_bit____and__static_flip_bit___" title="Template Class mpl::flip_bit&lt;&gt; and static_flip_bit&lt;&gt;">Template
         Class <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">flip_bit</span><span class="special">&lt;&gt;</span></code>
         and <code class="computeroutput"><span class="identifier">static_flip_bit</span><span class="special">&lt;&gt;</span></code></a>
 </h4></div></div></div>
@@ -1531,6 +1549,16 @@
 </span><span class="keyword">bool</span> <span class="identifier">new_value</span> <span class="special">=</span> <span class="identifier">flip_bit</span><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span> <span class="number">10</span><span class="special">,</span> <span class="number">2</span><span class="special">&gt;::</span><span class="identifier">value</span><span class="special">;</span>
 </pre>
 </div>
+<div class="section" title="Runtime version">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_integer.bits_and_ints.bit_utils.runtime_version"></a><a class="link" href="bits_and_ints.html#boost_integer.bits_and_ints.bit_utils.runtime_version" title="Runtime version">Runtime
+ version</a>
+</h4></div></div></div>
+<p>
+ For all runtime functions, all remarks and requirement are equals to the
+ <code class="computeroutput"><span class="identifier">static_</span></code>-prefixed version.
+ </p>
+</div>
 </div>
 </div>
 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>

Modified: sandbox/SOC/2010/bits_and_ints/libs/integer/doc/html/boost_integer/history.html
==============================================================================
--- sandbox/SOC/2010/bits_and_ints/libs/integer/doc/html/boost_integer/history.html (original)
+++ sandbox/SOC/2010/bits_and_ints/libs/integer/doc/html/boost_integer/history.html 2010-07-12 16:57:38 EDT (Mon, 12 Jul 2010)
@@ -26,7 +26,7 @@
 <a name="boost_integer.history"></a><a class="link" href="history.html" title="History"> History</a>
 </h2></div></div></div>
 <a name="boost_integer.history.1_42_0"></a><h5>
-<a name="id36200325"></a>
+<a name="id36200658"></a>
       <a class="link" href="history.html#boost_integer.history.1_42_0">1.42.0</a>
     </h5>
 <div class="itemizedlist"><ul class="itemizedlist" type="disc">
@@ -55,7 +55,7 @@
       </li>
 </ul></div>
 <a name="boost_integer.history.1_32_0"></a><h5>
-<a name="id36200445"></a>
+<a name="id36200778"></a>
       <a class="link" href="history.html#boost_integer.history.1_32_0">1.32.0</a>
     </h5>
 <div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">

Modified: sandbox/SOC/2010/bits_and_ints/libs/integer/doc/html/index.html
==============================================================================
--- sandbox/SOC/2010/bits_and_ints/libs/integer/doc/html/index.html (original)
+++ sandbox/SOC/2010/bits_and_ints/libs/integer/doc/html/index.html 2010-07-12 16:57:38 EDT (Mon, 12 Jul 2010)
@@ -255,7 +255,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: July 11, 2010 at 17:24:10 GMT</small></p></td>
+<td align="left"><p><small>Last revised: July 12, 2010 at 20:50:00 GMT</small></p></td>
 <td align="right"><div class="copyright-footer"></div></td>
 </tr></table>
 <hr>


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk