$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r83830 - in branches/release: . libs libs/smart_ptr
From: glenfe_at_[hidden]
Date: 2013-04-10 01:17:33
Author: glenfe
Date: 2013-04-10 01:17:32 EDT (Wed, 10 Apr 2013)
New Revision: 83830
URL: http://svn.boost.org/trac/boost/changeset/83830
Log:
Merge revision(s) 83829 from trunk:
More small cosmetic documentation changes.
........
Properties modified: 
   branches/release/   (props changed)
   branches/release/libs/   (props changed)
   branches/release/libs/smart_ptr/   (props changed)
Text files modified: 
   branches/release/libs/smart_ptr/make_shared_array.html |    86 ++++++++++++++++++++++----------------- 
   1 files changed, 48 insertions(+), 38 deletions(-)
Modified: branches/release/libs/smart_ptr/make_shared_array.html
==============================================================================
--- branches/release/libs/smart_ptr/make_shared_array.html	(original)
+++ branches/release/libs/smart_ptr/make_shared_array.html	2013-04-10 01:17:32 EDT (Wed, 10 Apr 2013)
@@ -104,10 +104,11 @@
     shared_ptr<U> allocate_shared_noinit(const A& allocator);
 }</pre>
     <h2><a name="functions">Free Functions</a></h2>
-    <pre>template<typename U, typename... Args>
-    shared_ptr<U> make_shared(size_t size, Args&&... args);
-template<typename U, typename A, typename... Args>
-    shared_ptr<U> allocate_shared(const A& allocator, size_t size, Args&&... args);</pre> 
+    <pre>template<typename U, typename... Args> // U = T[]
+shared_ptr<U> make_shared(size_t size, Args&&... args);
+
+template<typename U, typename A, typename... Args> // U = T[]
+shared_ptr<U> allocate_shared(const A& allocator, size_t size, Args&&... args);</pre> 
     <blockquote>
       <p><b>Requires:</b> The expression 
         <code>new(pointer) T(forward<Args>(args)...)</code>, where 
@@ -146,74 +147,83 @@
         take any constructor arguments. These overloads invoke the default 
         constructor of <code>T</code> for each array element.</p>
     </blockquote>
-    <pre>template<typename U, typename... Args>
-    shared_ptr<U> make_shared(Args&&... args);
-template<typename U, typename A, typename... Args>
-    shared_ptr<U> allocate_shared(const A& allocator, Args&&... args);</pre>
+    <pre>template<typename U, typename... Args> // U = T[N]
+shared_ptr<U> make_shared(Args&&... args);
+
+template<typename U, typename A, typename... Args> // U = T[N]
+shared_ptr<U> allocate_shared(const A& allocator, Args&&... args);</pre>
     <blockquote>
       <p><b>Description:</b> These overloads of the utilities above are for a 
         fixed size array.</p>
     </blockquote>
-    <pre>template<typename U, typename... Args>
-    shared_ptr<U> make_shared(initializer_list<T> list);
-template<typename U, typename A, typename... Args>
-    shared_ptr<U> allocate_shared(const A& allocator, initializer_list<T> list);</pre>
+    <pre>template<typename U, typename... Args> // U = T[]
+shared_ptr<U> make_shared(initializer_list<T> list);
+
+template<typename U, typename A, typename... Args> // U = T[]
+shared_ptr<U> allocate_shared(const A& allocator, initializer_list<T> list);</pre>
     <blockquote>
       <p><b>Description:</b> These overloads initialize the array elements 
         from the initializer list.</p>
     </blockquote>
-    <pre>template<typename U, typename... Args>
-    shared_ptr<U> make_shared(const T (&list)[N]);
-template<typename U, typename A, typename... Args>
-    shared_ptr<U> allocate_shared(const A& allocator, const T (&list)[N]);</pre>
+    <pre>template<typename U, typename... Args> // U = T[N]
+shared_ptr<U> make_shared(const T (&list)[N]);
+
+template<typename U, typename A, typename... Args> // U = T[N]
+shared_ptr<U> allocate_shared(const A& allocator, const T (&list)[N]);</pre>
     <blockquote>
       <p><b>Description:</b> These overloads of the utilities above are for a 
         fixed size array.</p>
     </blockquote>
-    <pre>template<typename U, typename... Args>
-    shared_ptr<U> make_shared(size_t size, const T (&list)[N]);
-template<typename U, typename A, typename... Args>
-    shared_ptr<U> allocate_shared(const A& allocator, size_t size, const T (&list)[N]);</pre>
+    <pre>template<typename U, typename... Args> // U = T[][N]
+shared_ptr<U> make_shared(size_t size, const T (&list)[N]);
+
+template<typename U, typename A, typename... Args> // U = T[][N]
+shared_ptr<U> allocate_shared(const A& allocator, size_t size, const T (&list)[N]);</pre>
     <blockquote>
       <p><b>Description:</b> These overloads initialize inner array elements 
         from the initializer list.</p>
     </blockquote>
     <pre>template<typename U, typename... Args> // U = T[M][N]
-    shared_ptr<U> make_shared(const T (&list)[N]);
+shared_ptr<U> make_shared(const T (&list)[N]);
+
 template<typename U, typename A, typename... Args> // U = T[M][N]
-    shared_ptr<U> allocate_shared(const A& allocator, const T (&list)[N]);</pre>
+shared_ptr<U> allocate_shared(const A& allocator, const T (&list)[N]);</pre>
     <blockquote>
       <p><b>Description:</b> These overloads of the utilities above are for a 
         fixed size array.</p>
     </blockquote>   
-    <pre>template<typename U>
-    shared_ptr<U> make_shared(size_t size, T&& value);
-template<typename U, typename A>
-    shared_ptr<U> allocate_shared(const A& allocator, size_t size, T&& value);</pre>
+    <pre>template<typename U> // U = T[]
+shared_ptr<U> make_shared(size_t size, T&& value);
+
+template<typename U, typename A> // U = T[]
+shared_ptr<U> allocate_shared(const A& allocator, size_t size, T&& value);</pre>
     <blockquote>
       <p><b>Description:</b> These overloads initialize array elements with  
         the given value.</p>
     </blockquote>
-    <pre>template<typename U>
-    shared_ptr<U> make_shared(T&& value);
-template<typename U, typename A>
-    shared_ptr<U> allocate_shared(const A& allocator, T&& value);</pre>
+    <pre>template<typename U> // U = T[N]
+shared_ptr<U> make_shared(T&& value);
+
+template<typename U, typename A> // U = T[N]
+shared_ptr<U> allocate_shared(const A& allocator, T&& value);</pre>
     <blockquote>
       <p><b>Description:</b> These overloads of the utilities above are for a 
         fixed size array.</p>
     </blockquote>
-    <pre>template<typename U>
-    shared_ptr<U> make_shared_noinit(size_t size);
-template<typename U, typename A>
-    shared_ptr<U> allocate_shared_noinit(const A& allocator, size_t size);</pre>
+    <pre>template<typename U> // U = T[]
+shared_ptr<U> make_shared_noinit(size_t size);
+
+template<typename U, typename A> // U = T[]
+shared_ptr<U> allocate_shared_noinit(const A& allocator, size_t size);</pre>
     <blockquote>
       <p><b>Description:</b> These overloads do not perform any value 
         initialization of elements.</p>
     </blockquote>
-    <pre>template<typename U>
-    shared_ptr<U> make_shared_noinit();
-template<typename U, typename A>
-    shared_ptr<U> allocate_shared_noinit(const A& allocator);</pre>
+    <pre>template<typename U> // U = T[N]
+shared_ptr<U> make_shared_noinit();
+
+template<typename U, typename A> // U = T[N]
+shared_ptr<U> allocate_shared_noinit(const A& allocator);</pre>
     <blockquote>
       <p><b>Description:</b> These overloads of the utilities above are for a 
         fixed size array.</p>