forked from boostorg/smart_ptr
Minor corrections in make_shared_array.html documentation.
[SVN r81431]
This commit is contained in:
@@ -34,17 +34,17 @@
|
|||||||
|
|
||||||
template<typename T, typename A>
|
template<typename T, typename A>
|
||||||
shared_ptr<T[]> <a href="#functions">allocate_shared</a>(const A& allocator, size_t size);
|
shared_ptr<T[]> <a href="#functions">allocate_shared</a>(const A& allocator, size_t size);
|
||||||
|
|
||||||
#if defined(BOOST_HAS_VARIADIC_TMPL) && defined(BOOST_HAS_RVALUE_REFS)
|
#if defined(BOOST_HAS_VARIADIC_TMPL) && defined(BOOST_HAS_RVALUE_REFS)
|
||||||
template<typename T, typename... Args>
|
template<typename T, typename... Args>
|
||||||
shared_ptr<T[]> <a href="#functions">make_shared</a>(size_t size, Args&&... args);
|
shared_ptr<T[]> <a href="#functions">make_shared</a>(size_t size, Args&&... args);
|
||||||
|
|
||||||
template<typename T, typename... Args>
|
template<typename T, typename... Args>
|
||||||
shared_ptr<T[N]> <a href="#functions">make_shared</a>(Args&&... args);
|
shared_ptr<T[N]> <a href="#functions">make_shared</a>(Args&&... args);
|
||||||
|
|
||||||
template<typename T, typename A, typename... Args>
|
template<typename T, typename A, typename... Args>
|
||||||
shared_ptr<T[]> <a href="#functions">allocate_shared</a>(const A& allocator, size_t size, Args&&... args);
|
shared_ptr<T[]> <a href="#functions">allocate_shared</a>(const A& allocator, size_t size, Args&&... args);
|
||||||
|
|
||||||
template<typename T, typename A, typename... Args>
|
template<typename T, typename A, typename... Args>
|
||||||
shared_ptr<T[N]> <a href="#functions">allocate_shared</a>(const A& allocator, Args&&... args);
|
shared_ptr<T[N]> <a href="#functions">allocate_shared</a>(const A& allocator, Args&&... args);
|
||||||
#endif
|
#endif
|
||||||
@@ -52,32 +52,32 @@
|
|||||||
#if !defined(BOOST_NO_CXX11_HDR_INITIALIZER_LIST)
|
#if !defined(BOOST_NO_CXX11_HDR_INITIALIZER_LIST)
|
||||||
template<typename T, typename... Args>
|
template<typename T, typename... Args>
|
||||||
shared_ptr<T[]> <a href="#functions">make_shared</a>(initializer_list<T> list);
|
shared_ptr<T[]> <a href="#functions">make_shared</a>(initializer_list<T> list);
|
||||||
|
|
||||||
template<typename T, typename... Args>
|
template<typename T, typename... Args>
|
||||||
shared_ptr<T[N]> <a href="#functions">make_shared</a>(initializer_list<T> list);
|
shared_ptr<T[N]> <a href="#functions">make_shared</a>(initializer_list<T> list);
|
||||||
|
|
||||||
template<typename T, typename... Args>
|
template<typename T, typename... Args>
|
||||||
shared_ptr<T[][N]> <a href="#functions">make_shared</a>(size_t size, initializer_list<T[N]> list);
|
shared_ptr<T[][N]> <a href="#functions">make_shared</a>(size_t size, initializer_list<T> list);
|
||||||
|
|
||||||
template<typename T, typename... Args>
|
template<typename T, typename... Args>
|
||||||
shared_ptr<T[M][N]> <a href="#functions">make_shared</a>(initializer_list<T[N]> list);
|
shared_ptr<T[M][N]> <a href="#functions">make_shared</a>(initializer_list<T> list);
|
||||||
|
|
||||||
template<typename T, typename A, typename... Args>
|
template<typename T, typename A, typename... Args>
|
||||||
shared_ptr<T[]> <a href="#functions">allocate_shared</a>(const A& allocator, initializer_list<T> list);
|
shared_ptr<T[]> <a href="#functions">allocate_shared</a>(const A& allocator, initializer_list<T> list);
|
||||||
|
|
||||||
template<typename T, typename A, typename... Args>
|
template<typename T, typename A, typename... Args>
|
||||||
shared_ptr<T[N]> <a href="#functions">allocate_shared</a>(const A& allocator, initializer_list<T> list);
|
shared_ptr<T[N]> <a href="#functions">allocate_shared</a>(const A& allocator, initializer_list<T> list);
|
||||||
|
|
||||||
template<typename T, typename A, typename... Args>
|
template<typename T, typename A, typename... Args>
|
||||||
shared_ptr<T[][N]> <a href="#functions">allocate_shared</a>(const A& allocator, size_t size, initializer_list<T[N]> list);
|
shared_ptr<T[][N]> <a href="#functions">allocate_shared</a>(const A& allocator, size_t size, initializer_list<T> list);
|
||||||
|
|
||||||
template<typename T, typename A, typename... Args>
|
template<typename T, typename A, typename... Args>
|
||||||
shared_ptr<T[M][N]> <a href="#functions">allocate_shared</a>(const A& allocator, initializer_list<T[N]> list);
|
shared_ptr<T[M][N]> <a href="#functions">allocate_shared</a>(const A& allocator, initializer_list<T> list);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
shared_ptr<T[]> <a href="#functions">make_shared_noinit</a>(size_t size);
|
shared_ptr<T[]> <a href="#functions">make_shared_noinit</a>(size_t size);
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
shared_ptr<T[N]> <a href="#functions">make_shared_noinit</a>();
|
shared_ptr<T[N]> <a href="#functions">make_shared_noinit</a>();
|
||||||
}</pre>
|
}</pre>
|
||||||
@@ -149,17 +149,17 @@ template<typename T, typename A, typename... Args>
|
|||||||
fixed size array.</p>
|
fixed size array.</p>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
<pre>template<typename T, typename... Args>
|
<pre>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 A, typename... Args>
|
template<typename T, typename A, typename... Args>
|
||||||
shared_ptr<T[][N]> allocate_shared(const A& allocator, size_t size, initializer_list<T[N]> list);</pre>
|
shared_ptr<T[][N]> allocate_shared(const A& allocator, size_t size, initializer_list<T> list);</pre>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p><b>Description:</b> These overloads initialize inner array elements
|
<p><b>Description:</b> These overloads initialize inner array elements
|
||||||
from the initializer list.</p>
|
from the initializer list.</p>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
<pre>template<typename T, typename... Args>
|
<pre>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>
|
template<typename T, typename A, typename... Args>
|
||||||
shared_ptr<T[M][N]> allocate_shared(const A& allocator, initializer_list<T[N]> list);</pre>
|
shared_ptr<T[M][N]> allocate_shared(const A& allocator, initializer_list<T> list);</pre>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p><b>Description:</b> These overloads of the utilities above are for a
|
<p><b>Description:</b> These overloads of the utilities above are for a
|
||||||
fixed size array.</p>
|
fixed size array.</p>
|
||||||
|
Reference in New Issue
Block a user