mirror of
https://github.com/boostorg/smart_ptr.git
synced 2025-08-01 21:54:28 +02:00
Minor fixes.
[SVN r12763]
This commit is contained in:
@@ -54,10 +54,10 @@ pointed to. <b>T</b> must meet the smart pointer
|
|||||||
|
|
||||||
<a href="#constructors">shared_array</a>(shared_array const & r); // never throws
|
<a href="#constructors">shared_array</a>(shared_array const & r); // never throws
|
||||||
|
|
||||||
shared_array & <a href="#assignment">operator=</a>(shared_array const & r); // never throws
|
shared_array & <a href="#assignment">operator=</a>(shared_array const & r); // never throws
|
||||||
|
|
||||||
void <a href="#reset">reset</a>(T * p = 0); // never throws
|
void <a href="#reset">reset</a>(T * p = 0);
|
||||||
template<typename D> void <a href="#reset">reset</a>(T * p, D d); // never throws
|
template<typename D> void <a href="#reset">reset</a>(T * p, D d);
|
||||||
|
|
||||||
T & <a href="#indexing">operator[]</a>(std::ptrdiff_t i) const() const; // never throws
|
T & <a href="#indexing">operator[]</a>(std::ptrdiff_t i) const() const; // never throws
|
||||||
T * <a href="#get">get</a>() const; // never throws
|
T * <a href="#get">get</a>() const; // never throws
|
||||||
|
@@ -71,8 +71,8 @@ function must be passed in, or the pointed-to object must have a trivial destruc
|
|||||||
template<typename Y> shared_ptr & <a href="#assignment">operator=</a>(shared_ptr<Y> const & r); // never throws
|
template<typename Y> shared_ptr & <a href="#assignment">operator=</a>(shared_ptr<Y> const & r); // never throws
|
||||||
template<typename Y> shared_ptr & <a href="#assignment">operator=</a>(std::auto_ptr<Y> & r);
|
template<typename Y> shared_ptr & <a href="#assignment">operator=</a>(std::auto_ptr<Y> & r);
|
||||||
|
|
||||||
void <a href="#reset">reset</a>(T * p = 0); // never throws
|
void <a href="#reset">reset</a>(T * p = 0);
|
||||||
template<typename D> void <a href="#reset">reset</a>(T * p, D d); // never throws
|
template<typename D> void <a href="#reset">reset</a>(T * p, D d);
|
||||||
|
|
||||||
T & <a href="#indirection">operator*</a>() const; // never throws
|
T & <a href="#indirection">operator*</a>() const; // never throws
|
||||||
T * <a href="#indirection">operator-></a>() const; // never throws
|
T * <a href="#indirection">operator-></a>() const; // never throws
|
||||||
@@ -88,8 +88,8 @@ function must be passed in, or the pointed-to object must have a trivial destruc
|
|||||||
bool <a href="#operator==">operator==</a>(shared_ptr<T> const & a, shared_ptr<U> const & b); // never throws
|
bool <a href="#operator==">operator==</a>(shared_ptr<T> const & a, shared_ptr<U> const & b); // never throws
|
||||||
template<typename T, typename U>
|
template<typename T, typename U>
|
||||||
bool <a href="#operator!=">operator!=</a>(shared_ptr<T> const & a, shared_ptr<U> const & b); // never throws
|
bool <a href="#operator!=">operator!=</a>(shared_ptr<T> const & a, shared_ptr<U> const & b); // never throws
|
||||||
template<typename T, typename U>
|
template<typename T>
|
||||||
bool <a href="#operator<">operator<</a>(shared_ptr<T> const & a, shared_ptr<U> const & b); // never throws
|
bool <a href="#operator<">operator<</a>(shared_ptr<T> const & a, shared_ptr<T> const & b); // never throws
|
||||||
|
|
||||||
template<typename T> void <a href="#free-swap">swap</a>(shared_ptr<T> & a, shared_ptr<T> & b); // never throws
|
template<typename T> void <a href="#free-swap">swap</a>(shared_ptr<T> & a, shared_ptr<T> & b); // never throws
|
||||||
|
|
||||||
@@ -226,8 +226,8 @@ See the smart pointer
|
|||||||
bool <a href="#operator==">operator==</a>(shared_ptr<T> const & a, shared_ptr<U> const & b); // never throws
|
bool <a href="#operator==">operator==</a>(shared_ptr<T> const & a, shared_ptr<U> const & b); // never throws
|
||||||
template<typename T, typename U>
|
template<typename T, typename U>
|
||||||
bool <a href="#operator!=">operator!=</a>(shared_ptr<T> const & a, shared_ptr<U> const & b); // never throws
|
bool <a href="#operator!=">operator!=</a>(shared_ptr<T> const & a, shared_ptr<U> const & b); // never throws
|
||||||
template<typename T, typename U>
|
template<typename T>
|
||||||
bool <a href="#operator<">operator<</a>(shared_ptr<T> const & a, shared_ptr<U> const & b); // never throws</pre>
|
bool <a href="#operator<">operator<</a>(shared_ptr<T> const & a, shared_ptr<T> const & b); // never throws</pre>
|
||||||
<p>Compares the stored pointers of the two smart pointers.
|
<p>Compares the stored pointers of the two smart pointers.
|
||||||
<b>T</b> need not be a complete type.
|
<b>T</b> need not be a complete type.
|
||||||
See the smart pointer
|
See the smart pointer
|
||||||
|
10
weak_ptr.htm
10
weak_ptr.htm
@@ -47,7 +47,7 @@ pointed to. <b>T</b> must meet the smart pointer
|
|||||||
template<typename Y> weak_ptr & <a href="#assignment">operator=</a>(weak_ptr<Y> const & r); // never throws
|
template<typename Y> weak_ptr & <a href="#assignment">operator=</a>(weak_ptr<Y> const & r); // never throws
|
||||||
template<typename Y> weak_ptr & <a href="#assignment">operator=</a>(shared_ptr<Y> const & r); // never throws
|
template<typename Y> weak_ptr & <a href="#assignment">operator=</a>(shared_ptr<Y> const & r); // never throws
|
||||||
|
|
||||||
void <a href="#reset">reset</a>(); // never throws
|
void <a href="#reset">reset</a>();
|
||||||
|
|
||||||
T & <a href="#indirection">operator*</a>() const; // never throws
|
T & <a href="#indirection">operator*</a>() const; // never throws
|
||||||
T * <a href="#indirection">operator-></a>() const; // never throws
|
T * <a href="#indirection">operator-></a>() const; // never throws
|
||||||
@@ -62,8 +62,8 @@ pointed to. <b>T</b> must meet the smart pointer
|
|||||||
bool <a href="#operator==">operator==</a>(weak_ptr<T> const & a, weak_ptr<U> const & b); // never throws
|
bool <a href="#operator==">operator==</a>(weak_ptr<T> const & a, weak_ptr<U> const & b); // never throws
|
||||||
template<typename T, typename U>
|
template<typename T, typename U>
|
||||||
bool <a href="#operator!=">operator!=</a>(weak_ptr<T> const & a, weak_ptr<U> const & b); // never throws
|
bool <a href="#operator!=">operator!=</a>(weak_ptr<T> const & a, weak_ptr<U> const & b); // never throws
|
||||||
template<typename T, typename U>
|
template<typename T>
|
||||||
bool <a href="#operator<">operator<</a>(weak_ptr<T> const & a, weak_ptr<U> const & b); // never throws
|
bool <a href="#operator<">operator<</a>(weak_ptr<T> const & a, weak_ptr<T> const & b); // never throws
|
||||||
|
|
||||||
template<typename T> void <a href="#free-swap">swap</a>(weak_ptr<T> & a, weak_ptr<T> & b); // never throws
|
template<typename T> void <a href="#free-swap">swap</a>(weak_ptr<T> & a, weak_ptr<T> & b); // never throws
|
||||||
|
|
||||||
@@ -174,8 +174,8 @@ See the smart pointer
|
|||||||
bool <a href="#operator==">operator==</a>(weak_ptr<T> const & a, weak_ptr<U> const & b); // never throws
|
bool <a href="#operator==">operator==</a>(weak_ptr<T> const & a, weak_ptr<U> const & b); // never throws
|
||||||
template<typename T, typename U>
|
template<typename T, typename U>
|
||||||
bool <a href="#operator!=">operator!=</a>(weak_ptr<T> const & a, weak_ptr<U> const & b); // never throws
|
bool <a href="#operator!=">operator!=</a>(weak_ptr<T> const & a, weak_ptr<U> const & b); // never throws
|
||||||
template<typename T, typename U>
|
template<typename T>
|
||||||
bool <a href="#operator<">operator<</a>(weak_ptr<T> const & a, weak_ptr<U> const & b); // never throws</pre>
|
bool <a href="#operator<">operator<</a>(weak_ptr<T> const & a, weak_ptr<T> const & b); // never throws</pre>
|
||||||
<p>Compares the stored pointers of the two smart pointers.
|
<p>Compares the stored pointers of the two smart pointers.
|
||||||
<b>T</b> need not be a complete type.
|
<b>T</b> need not be a complete type.
|
||||||
See the smart pointer
|
See the smart pointer
|
||||||
|
Reference in New Issue
Block a user