Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r81431 - trunk/libs/smart_ptr
From: glenfe_at_[hidden]
Date: 2012-11-19 23:07:59


Author: glenfe
Date: 2012-11-19 23:07:58 EST (Mon, 19 Nov 2012)
New Revision: 81431
URL: http://svn.boost.org/trac/boost/changeset/81431

Log:
Minor corrections in make_shared_array.html documentation.
Text files modified:
   trunk/libs/smart_ptr/make_shared_array.html | 38 +++++++++++++++++++-------------------
   1 files changed, 19 insertions(+), 19 deletions(-)

Modified: trunk/libs/smart_ptr/make_shared_array.html
==============================================================================
--- trunk/libs/smart_ptr/make_shared_array.html (original)
+++ trunk/libs/smart_ptr/make_shared_array.html 2012-11-19 23:07:58 EST (Mon, 19 Nov 2012)
@@ -34,17 +34,17 @@
 
     template<typename T, typename A>
     shared_ptr<T[]> allocate_shared(const A& allocator, size_t size);
-
+
 #if defined(BOOST_HAS_VARIADIC_TMPL) && defined(BOOST_HAS_RVALUE_REFS)
     template<typename T, typename... Args>
     shared_ptr<T[]> make_shared(size_t size, Args&&... args);
-
+
     template<typename T, typename... Args>
     shared_ptr<T[N]> make_shared(Args&&... args);
-
+
     template<typename T, typename A, typename... Args>
     shared_ptr<T[]> allocate_shared(const A& allocator, size_t size, Args&&... args);
-
+
     template<typename T, typename A, typename... Args>
     shared_ptr<T[N]> allocate_shared(const A& allocator, Args&&... args);
 #endif
@@ -52,32 +52,32 @@
 #if !defined(BOOST_NO_CXX11_HDR_INITIALIZER_LIST)
     template<typename T, typename... Args>
     shared_ptr<T[]> make_shared(initializer_list<T> list);
-
+
     template<typename T, typename... Args>
     shared_ptr<T[N]> make_shared(initializer_list<T> list);
-
+
     template<typename T, typename... Args>
- shared_ptr<T[][N]> make_shared(size_t size, initializer_list<T[N]> list);
-
+ shared_ptr<T[][N]> make_shared(size_t size, initializer_list<T> list);
+
     template<typename T, typename... Args>
- shared_ptr<T[M][N]> make_shared(initializer_list<T[N]> list);
+ shared_ptr<T[M][N]> make_shared(initializer_list<T> list);
 
     template<typename T, typename A, typename... Args>
     shared_ptr<T[]> allocate_shared(const A& allocator, initializer_list<T> list);
-
+
     template<typename T, typename A, typename... Args>
     shared_ptr<T[N]> allocate_shared(const A& allocator, initializer_list<T> list);
-
+
     template<typename T, typename A, typename... Args>
- shared_ptr<T[][N]> allocate_shared(const A& allocator, size_t size, initializer_list<T[N]> list);
-
+ shared_ptr<T[][N]> allocate_shared(const A& allocator, size_t size, initializer_list<T> list);
+
     template<typename T, typename A, typename... Args>
- shared_ptr<T[M][N]> allocate_shared(const A& allocator, initializer_list<T[N]> list);
+ shared_ptr<T[M][N]> allocate_shared(const A& allocator, initializer_list<T> list);
 #endif
 
     template<typename T>
     shared_ptr<T[]> make_shared_noinit(size_t size);
-
+
     template<typename T>
     shared_ptr<T[N]> make_shared_noinit();
 }</pre>
@@ -149,17 +149,17 @@
         fixed size array.</p>
     </blockquote>
     <pre>template&lt;typename T, typename... Args&gt;
- shared_ptr&lt;T[][N]&gt; make_shared(size_t size, initializer_list&lt;T[N]&gt; list);
+ shared_ptr&lt;T[][N]&gt; make_shared(size_t size, initializer_list&lt;T&gt; list);
 template&lt;typename T, typename A, typename... Args&gt;
- shared_ptr&lt;T[][N]&gt; allocate_shared(const A&amp; allocator, size_t size, initializer_list&lt;T[N]&gt; list);</pre>
+ shared_ptr&lt;T[][N]&gt; allocate_shared(const A&amp; allocator, size_t size, initializer_list&lt;T&gt; list);</pre>
     <blockquote>
       <p><b>Description:</b> These overloads initialize inner array elements
         from the initializer list.</p>
     </blockquote>
     <pre>template&lt;typename T, typename... Args&gt;
- shared_ptr&lt;T[M][N]&gt; make_shared(initializer_list&lt;T[N]&gt; list);
+ shared_ptr&lt;T[M][N]&gt; make_shared(initializer_list&lt;T&gt; list);
 template&lt;typename T, typename A, typename... Args&gt;
- shared_ptr&lt;T[M][N]&gt; allocate_shared(const A&amp; allocator, initializer_list&lt;T[N]&gt; list);</pre>
+ shared_ptr&lt;T[M][N]&gt; allocate_shared(const A&amp; allocator, initializer_list&lt;T&gt; list);</pre>
     <blockquote>
       <p><b>Description:</b> These overloads of the utilities above are for a
         fixed size array.</p>


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