Update of /cvsroot/boost/boost/libs/functional/hash/doc
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv25135

Modified Files:
        ref.xml 
Log Message:
Document support for long long.


Index: ref.xml
===================================================================
RCS file: /cvsroot/boost/boost/libs/functional/hash/doc/ref.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- ref.xml     9 Apr 2006 09:46:46 -0000       1.5
+++ ref.xml     6 Jun 2006 20:26:25 -0000       1.6
@@ -257,6 +257,42 @@
       <struct-specialization name="hash">
         <template></template>
         <specialization>
+          <template-arg>long long</template-arg>
+        </specialization>
+        <method name="operator()" cv="const">
+          <type>std::size_t</type>
+          <parameter name="val">
+            <paramtype>long long</paramtype>
+          </parameter>
+          <returns>
+            <para>Unspecified in TR1, except that equal arguments yield the 
same result.</para>
+            <para><functionname>hash_value</functionname>(val) in Boost.</para>
+          </returns>
+          <throws><para>Doesn't throw</para></throws>
+        </method>
+      </struct-specialization>
+
+      <struct-specialization name="hash">
+        <template></template>
+        <specialization>
+          <template-arg>unsigned long long</template-arg>
+        </specialization>
+        <method name="operator()" cv="const">
+          <type>std::size_t</type>
+          <parameter name="val">
+            <paramtype>unsigned long long</paramtype>
+          </parameter>
+          <returns>
+            <para>Unspecified in TR1, except that equal arguments yield the 
same result.</para>
+            <para><functionname>hash_value</functionname>(val) in Boost.</para>
+          </returns>
+          <throws><para>Doesn't throw</para></throws>
+        </method>
+      </struct-specialization>
+
+      <struct-specialization name="hash">
+        <template></template>
+        <specialization>
           <template-arg>float</template-arg>
         </specialization>
         <method name="operator()" cv="const">
@@ -469,6 +505,16 @@
 
         <signature>
           <type>std::size_t</type>
+          <parameter name="val"><paramtype>long long</paramtype></parameter>
+        </signature>
+
+        <signature>
+          <type>std::size_t</type>
+          <parameter name="val"><paramtype>unsigned long 
long</paramtype></parameter>
+        </signature>
+
+        <signature>
+          <type>std::size_t</type>
           <parameter name="val"><paramtype>float</paramtype></parameter>
         </signature>
 
@@ -629,6 +675,10 @@
                   <entry><code>val</code></entry>
                 </row>
                 <row>
+                  <entry><code>long long</code>, <code>unsigned long 
long</code></entry>
+                  <entry><code>val</code> when <code>abs(val) &lt;= 
std::numeric_limits&lt;std::size_t&gt;::max()</code>.</entry>
+                </row>
+                <row>
                   <entry><code>float</code>, <code>double</code>, <code>long 
double</code></entry>
                   <entry>An unspecified value, except that equal arguments 
shall yield the same result.</entry>
                 </row>



_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to