Update of /cvsroot/boost/boost/libs/multi_array/doc/xml
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv13250/xml
Modified Files:
Tag: RC_1_34_0
MultiArray.xml const_multi_array_ref.xml multi_array.xml
reference.xml
Log Message:
Backpatching fixes to the documentation from HEAD.
Index: MultiArray.xml
===================================================================
RCS file: /cvsroot/boost/boost/libs/multi_array/doc/xml/MultiArray.xml,v
retrieving revision 1.4
retrieving revision 1.4.8.1
diff -u -d -r1.4 -r1.4.8.1
--- MultiArray.xml 14 Oct 2004 14:10:48 -0000 1.4
+++ MultiArray.xml 26 Jun 2006 16:58:28 -0000 1.4.8.1
@@ -124,8 +124,8 @@
</entry>
</row>
<row>
- <entry><literal>a</literal></entry>
- <entry>An object of type <literal>A</literal></entry>
+ <entry><literal>a,b</literal></entry>
+ <entry>Objects of type <literal>A</literal></entry>
</row>
<row>
<entry><literal>NumDims</literal></entry>
Index: const_multi_array_ref.xml
===================================================================
RCS file:
/cvsroot/boost/boost/libs/multi_array/doc/xml/const_multi_array_ref.xml,v
retrieving revision 1.3
retrieving revision 1.3.12.1
diff -u -d -r1.3 -r1.3.12.1
--- const_multi_array_ref.xml 25 Aug 2003 22:32:45 -0000 1.3
+++ const_multi_array_ref.xml 26 Jun 2006 16:58:28 -0000 1.3.12.1
@@ -38,21 +38,21 @@
public:
// types:
typedef ValueType element;
- typedef *implementation-defined* value_type;
- typedef *implementation-defined* reference;
- typedef *implementation-defined* const_reference;
- typedef *implementation-defined* difference_type;
- typedef *implementation-defined* iterator;
- typedef *implementation-defined* const_iterator;
- typedef *implementation-defined* reverse_iterator;
- typedef *implementation-defined* const_reverse_iterator;
+ typedef *unspecified* value_type;
+ typedef *unspecified* reference;
+ typedef *unspecified* const_reference;
+ typedef *unspecified* difference_type;
+ typedef *unspecified* iterator;
+ typedef *unspecified* const_iterator;
+ typedef *unspecified* reverse_iterator;
+ typedef *unspecified* const_reverse_iterator;
typedef multi_array_types::size_type size_type;
typedef multi_array_types::index index;
typedef multi_array_types::index_gen index_gen;
typedef multi_array_types::index_range index_range;
typedef multi_array_types::extent_gen extent_gen;
typedef multi_array_types::extent_range extent_range;
- typedef *implementation-defined* storage_order_type;
+ typedef *unspecified* storage_order_type;
// template typedefs
template <std::size_t Dims> struct subarray;
Index: multi_array.xml
===================================================================
RCS file: /cvsroot/boost/boost/libs/multi_array/doc/xml/multi_array.xml,v
retrieving revision 1.5
retrieving revision 1.5.10.1
diff -u -d -r1.5 -r1.5.10.1
--- multi_array.xml 22 Feb 2004 14:35:15 -0000 1.5
+++ multi_array.xml 26 Jun 2006 16:58:28 -0000 1.5.10.1
@@ -36,21 +36,21 @@
public:
// types:
typedef ValueType element;
- typedef *implementation-defined* value_type;
- typedef *implementation-defined* reference;
- typedef *implementation-defined* const_reference;
- typedef *implementation-defined* difference_type;
- typedef *implementation-defined* iterator;
- typedef *implementation-defined* const_iterator;
- typedef *implementation-defined* reverse_iterator;
- typedef *implementation-defined* const_reverse_iterator;
+ typedef *unspecified* value_type;
+ typedef *unspecified* reference;
+ typedef *unspecified* const_reference;
+ typedef *unspecified* difference_type;
+ typedef *unspecified* iterator;
+ typedef *unspecified* const_iterator;
+ typedef *unspecified* reverse_iterator;
+ typedef *unspecified* const_reverse_iterator;
typedef multi_array_types::size_type size_type;
typedef multi_array_types::index index;
typedef multi_array_types::index_gen index_gen;
typedef multi_array_types::index_range index_range;
typedef multi_array_types::extent_gen extent_gen;
typedef multi_array_types::extent_range extent_range;
- typedef *implementation-defined* storage_order_type;
+ typedef *unspecified* storage_order_type;
// template typedefs
@@ -136,7 +136,9 @@
template <typename SizeList>
void reshape(const SizeList& sizes)
template <typename BaseList> void reindex(const BaseList& values);
- void reindex(index value);
+ void reindex(index value);
+ template <typename ExtentList>
+ multi_array& resize(const ExtentList& extents);
multi_array& resize(extents_tuple& extents);
};
]]>
@@ -327,15 +329,20 @@
<varlistentry>
<term>
-<programlisting><![CDATA[multi_array&
resize(extent_gen::gen_type<NumDims>::type ranges);]]>
+<programlisting><![CDATA[multi_array&
resize(extent_gen::gen_type<NumDims>::type extents);
+template <typename ExtentList>
+ multi_array& resize(const ExtentList& extents);
+]]>
</programlisting></term>
<listitem>
<para>
-This function resizes an array to the shape specified by
-<literal>ranges</literal>. The contents of the array are preserved
-whenever possible; if the new array size is smaller, then some data will
-be lost. Any new elements created by resizing the array are initialized with
-the <literal>element</literal> default constructor.
+This function resizes an array to the shape specified by
+<literal>extents</literal>, which is either a generated list of
+extents or a model of the <literal>Collection</literal> concept. The
+contents of the array are preserved whenever possible; if the new
+array size is smaller, then some data will be lost. Any new elements
+created by resizing the array are initialized with the
+<literal>element</literal> default constructor.
</para>
</listitem>
</varlistentry>
Index: reference.xml
===================================================================
RCS file: /cvsroot/boost/boost/libs/multi_array/doc/xml/reference.xml,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -d -r1.4 -r1.4.2.1
--- reference.xml 13 Feb 2006 17:52:29 -0000 1.4
+++ reference.xml 26 Jun 2006 16:58:28 -0000 1.4.2.1
@@ -50,13 +50,13 @@
<![CDATA[namespace boost {
namespace multi_array_types {
- typedef *implementation-defined* index;
- typedef *implementation-defined* size_type;
- typedef *implementation-defined* difference_type;
- typedef *implementation-defined* index_range;
- typedef *implementation-defined* extent_range;
- typedef *implementation-defined* index_gen;
- typedef *implementation-defined* extent_gen;
+ typedef *unspecified* index;
+ typedef *unspecified* size_type;
+ typedef *unspecified* difference_type;
+ typedef *unspecified* index_range;
+ typedef *unspecified* extent_range;
+ typedef *unspecified* index_gen;
+ typedef *unspecified* extent_gen;
}
template <typename ValueType,
@@ -343,13 +343,13 @@
<programlisting>
<![CDATA[namespace multi_array_types {
- typedef *implementation-defined* index;
- typedef *implementation-defined* size_type;
- typedef *implementation-defined* difference_type;
- typedef *implementation-defined* index_range;
- typedef *implementation-defined* extent_range;
- typedef *implementation-defined* index_gen;
- typedef *implementation-defined* extent_gen;
+ typedef *unspecified* index;
+ typedef *unspecified* size_type;
+ typedef *unspecified* difference_type;
+ typedef *unspecified* index_range;
+ typedef *unspecified* extent_range;
+ typedef *unspecified* index_gen;
+ typedef *unspecified* extent_gen;
}]]>
</programlisting>
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs