forked from boostorg/smart_ptr
More small cosmetic documentation changes.
[SVN r83829]
This commit is contained in:
@ -104,10 +104,11 @@
|
|||||||
shared_ptr<U> <a href="#functions">allocate_shared_noinit</a>(const A& allocator);
|
shared_ptr<U> <a href="#functions">allocate_shared_noinit</a>(const A& allocator);
|
||||||
}</pre>
|
}</pre>
|
||||||
<h2><a name="functions">Free Functions</a></h2>
|
<h2><a name="functions">Free Functions</a></h2>
|
||||||
<pre>template<typename U, typename... Args>
|
<pre>template<typename U, typename... Args> // U = T[]
|
||||||
shared_ptr<U> make_shared(size_t size, Args&&... 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>
|
template<typename U, typename A, typename... Args> // U = T[]
|
||||||
|
shared_ptr<U> allocate_shared(const A& allocator, size_t size, Args&&... args);</pre>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p><b>Requires:</b> The expression
|
<p><b>Requires:</b> The expression
|
||||||
<code>new(pointer) T(forward<Args>(args)...)</code>, where
|
<code>new(pointer) T(forward<Args>(args)...)</code>, where
|
||||||
@ -146,74 +147,83 @@ template<typename U, typename A, typename... Args>
|
|||||||
take any constructor arguments. These overloads invoke the default
|
take any constructor arguments. These overloads invoke the default
|
||||||
constructor of <code>T</code> for each array element.</p>
|
constructor of <code>T</code> for each array element.</p>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
<pre>template<typename U, typename... Args>
|
<pre>template<typename U, typename... Args> // U = T[N]
|
||||||
shared_ptr<U> make_shared(Args&&... 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>
|
template<typename U, typename A, typename... Args> // U = T[N]
|
||||||
|
shared_ptr<U> allocate_shared(const A& allocator, Args&&... args);</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>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
<pre>template<typename U, typename... Args>
|
<pre>template<typename U, typename... Args> // U = T[]
|
||||||
shared_ptr<U> make_shared(initializer_list<T> list);
|
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>
|
template<typename U, typename A, typename... Args> // U = T[]
|
||||||
|
shared_ptr<U> allocate_shared(const A& allocator, initializer_list<T> list);</pre>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p><b>Description:</b> These overloads initialize the array elements
|
<p><b>Description:</b> These overloads initialize the array elements
|
||||||
from the initializer list.</p>
|
from the initializer list.</p>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
<pre>template<typename U, typename... Args>
|
<pre>template<typename U, typename... Args> // U = T[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>
|
|
||||||
shared_ptr<U> allocate_shared(const A& allocator, const T (&list)[N]);</pre>
|
template<typename U, typename A, typename... Args> // U = T[N]
|
||||||
|
shared_ptr<U> allocate_shared(const A& allocator, const T (&list)[N]);</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>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
<pre>template<typename U, typename... Args>
|
<pre>template<typename U, typename... Args> // U = T[][N]
|
||||||
shared_ptr<U> make_shared(size_t size, const T (&list)[N]);
|
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>
|
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>
|
<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 U, typename... Args> // U = T[M][N]
|
<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]
|
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>
|
<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>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
<pre>template<typename U>
|
<pre>template<typename U> // U = T[]
|
||||||
shared_ptr<U> make_shared(size_t size, T&& value);
|
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>
|
template<typename U, typename A> // U = T[]
|
||||||
|
shared_ptr<U> allocate_shared(const A& allocator, size_t size, T&& value);</pre>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p><b>Description:</b> These overloads initialize array elements with
|
<p><b>Description:</b> These overloads initialize array elements with
|
||||||
the given value.</p>
|
the given value.</p>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
<pre>template<typename U>
|
<pre>template<typename U> // U = T[N]
|
||||||
shared_ptr<U> make_shared(T&& value);
|
shared_ptr<U> make_shared(T&& value);
|
||||||
template<typename U, typename A>
|
|
||||||
shared_ptr<U> allocate_shared(const A& allocator, T&& value);</pre>
|
template<typename U, typename A> // U = T[N]
|
||||||
|
shared_ptr<U> allocate_shared(const A& allocator, T&& value);</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>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
<pre>template<typename U>
|
<pre>template<typename U> // U = T[]
|
||||||
shared_ptr<U> make_shared_noinit(size_t size);
|
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>
|
template<typename U, typename A> // U = T[]
|
||||||
|
shared_ptr<U> allocate_shared_noinit(const A& allocator, size_t size);</pre>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p><b>Description:</b> These overloads do not perform any value
|
<p><b>Description:</b> These overloads do not perform any value
|
||||||
initialization of elements.</p>
|
initialization of elements.</p>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
<pre>template<typename U>
|
<pre>template<typename U> // U = T[N]
|
||||||
shared_ptr<U> make_shared_noinit();
|
shared_ptr<U> make_shared_noinit();
|
||||||
template<typename U, typename A>
|
|
||||||
shared_ptr<U> allocate_shared_noinit(const A& allocator);</pre>
|
template<typename U, typename A> // U = T[N]
|
||||||
|
shared_ptr<U> allocate_shared_noinit(const A& allocator);</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