|
8162 | 8162 | \tcode{A::const_pointer}, \tcode{A::void_pointer}, and \tcode{A::const_void_pointer}
|
8163 | 8163 | may be used as \tcode{unique_ptr<T, D>::pointer}. \end{example}
|
8164 | 8164 |
|
8165 |
| -\rSec4[unique.ptr.single.ctor]{\tcode{unique_ptr} constructors} |
| 8165 | +\rSec4[unique.ptr.single.ctor]{Constructors} |
8166 | 8166 |
|
8167 | 8167 | \indexlibrary{\idxcode{unique_ptr}!constructor}%
|
8168 | 8168 | \begin{itemdecl}
|
|
8364 | 8364 | \tcode{u.get_deleter()}.
|
8365 | 8365 | \end{itemdescr}
|
8366 | 8366 |
|
8367 |
| -\rSec4[unique.ptr.single.dtor]{\tcode{unique_ptr} destructor} |
| 8367 | +\rSec4[unique.ptr.single.dtor]{Destructor} |
8368 | 8368 |
|
8369 | 8369 | \indexlibrary{\idxcode{unique_ptr}!destructor}%
|
8370 | 8370 | \begin{itemdecl}
|
|
8383 | 8383 | Otherwise \tcode{get_deleter()(get())}.
|
8384 | 8384 | \end{itemdescr}
|
8385 | 8385 |
|
8386 |
| -\rSec4[unique.ptr.single.asgn]{\tcode{unique_ptr} assignment} |
| 8386 | +\rSec4[unique.ptr.single.asgn]{Assignment} |
8387 | 8387 |
|
8388 | 8388 | \indexlibrarymember{operator=}{unique_ptr}%
|
8389 | 8389 | \begin{itemdecl}
|
|
8459 | 8459 | \returns \tcode{*this}.
|
8460 | 8460 | \end{itemdescr}
|
8461 | 8461 |
|
8462 |
| -\rSec4[unique.ptr.single.observers]{\tcode{unique_ptr} observers} |
| 8462 | +\rSec4[unique.ptr.single.observers]{Observers} |
8463 | 8463 |
|
8464 | 8464 | \indexlibrarymember{operator*}{unique_ptr}%
|
8465 | 8465 | \begin{itemdecl}
|
|
8524 | 8524 | \returns \tcode{get() != nullptr}.
|
8525 | 8525 | \end{itemdescr}
|
8526 | 8526 |
|
8527 |
| -\rSec4[unique.ptr.single.modifiers]{\tcode{unique_ptr} modifiers} |
| 8527 | +\rSec4[unique.ptr.single.modifiers]{Modifiers} |
8528 | 8528 |
|
8529 | 8529 | \indexlibrarymember{release}{unique_ptr}%
|
8530 | 8530 | \begin{itemdecl}
|
|
8659 | 8659 | \pnum
|
8660 | 8660 | The template argument \tcode{T} shall be a complete type.
|
8661 | 8661 |
|
8662 |
| -\rSec4[unique.ptr.runtime.ctor]{\tcode{unique_ptr} constructors} |
| 8662 | +\rSec4[unique.ptr.runtime.ctor]{Constructors} |
8663 | 8663 |
|
8664 | 8664 | \indexlibrary{\idxcode{unique_ptr}!constructor}%
|
8665 | 8665 | \begin{itemdecl}
|
|
8731 | 8731 | \end{note}
|
8732 | 8732 | \end{itemdescr}
|
8733 | 8733 |
|
8734 |
| -\rSec4[unique.ptr.runtime.asgn]{\tcode{unique_ptr} assignment} |
| 8734 | +\rSec4[unique.ptr.runtime.asgn]{Assignment} |
8735 | 8735 |
|
8736 | 8736 | \indexlibrarymember{operator=}{unique_ptr}%
|
8737 | 8737 | \begin{itemdecl}
|
|
8758 | 8758 | \end{note}
|
8759 | 8759 | \end{itemdescr}
|
8760 | 8760 |
|
8761 |
| -\rSec4[unique.ptr.runtime.observers]{\tcode{unique_ptr} observers} |
| 8761 | +\rSec4[unique.ptr.runtime.observers]{Observers} |
8762 | 8762 |
|
8763 | 8763 | \indexlibrarymember{operator[]}{unique_ptr}%
|
8764 | 8764 | \begin{itemdecl}
|
|
8775 | 8775 | \returns \tcode{get()[i]}.
|
8776 | 8776 | \end{itemdescr}
|
8777 | 8777 |
|
8778 |
| -\rSec4[unique.ptr.runtime.modifiers]{\tcode{unique_ptr} modifiers} |
| 8778 | +\rSec4[unique.ptr.runtime.modifiers]{Modifiers} |
8779 | 8779 |
|
8780 | 8780 | \indexlibrarymember{reset}{unique_ptr}%
|
8781 | 8781 | \begin{itemdecl}
|
|
8807 | 8807 | \end{itemize}
|
8808 | 8808 | \end{itemdescr}
|
8809 | 8809 |
|
8810 |
| -\rSec3[unique.ptr.create]{\tcode{unique_ptr} creation} |
| 8810 | +\rSec3[unique.ptr.create]{Creation} |
8811 | 8811 |
|
8812 | 8812 | \indexlibrary{\idxcode{make_unique}}%
|
8813 | 8813 | \begin{itemdecl}
|
|
8848 | 8848 |
|
8849 | 8849 | \end{itemdescr}
|
8850 | 8850 |
|
8851 |
| -\rSec3[unique.ptr.special]{\tcode{unique_ptr} specialized algorithms} |
| 8851 | +\rSec3[unique.ptr.special]{Specialized algorithms} |
8852 | 8852 |
|
8853 | 8853 | \indexlibrary{\idxcode{swap(unique_ptr\&, unique_ptr\&)}}%
|
8854 | 8854 | \begin{itemdecl}
|
|
9042 | 9042 | The second function template returns \tcode{!(nullptr < x)}.
|
9043 | 9043 | \end{itemdescr}
|
9044 | 9044 |
|
9045 |
| -\rSec3[unique.ptr.io]{\tcode{unique_ptr} I/O} |
| 9045 | +\rSec3[unique.ptr.io]{I/O} |
9046 | 9046 |
|
9047 | 9047 | \indexlibrarymember{operator<<}{unique_ptr}%
|
9048 | 9048 | \begin{itemdecl}
|
|
9207 | 9207 | \tcode{Y*} is convertible to \tcode{T*} or
|
9208 | 9208 | \tcode{Y} is \tcode{U[N]} and \tcode{T} is \cv{}~\tcode{U[]}.
|
9209 | 9209 |
|
9210 |
| -\rSec3[util.smartptr.shared.const]{\tcode{shared_ptr} constructors} |
| 9210 | +\rSec3[util.smartptr.shared.const]{Constructors} |
9211 | 9211 |
|
9212 | 9212 | \pnum
|
9213 | 9213 | In the constructor definitions below,
|
|
9416 | 9416 | If an exception is thrown, the constructor has no effect.
|
9417 | 9417 | \end{itemdescr}
|
9418 | 9418 |
|
9419 |
| -\rSec3[util.smartptr.shared.dest]{\tcode{shared_ptr} destructor} |
| 9419 | +\rSec3[util.smartptr.shared.dest]{Destructor} |
9420 | 9420 |
|
9421 | 9421 | \indexlibrary{\idxcode{shared_ptr}!destructor}%
|
9422 | 9422 | \begin{itemdecl}
|
|
9447 | 9447 | \tcode{*this} will report a \tcode{use_count()} that is one less
|
9448 | 9448 | than its previous value. \end{note}
|
9449 | 9449 |
|
9450 |
| -\rSec3[util.smartptr.shared.assign]{\tcode{shared_ptr} assignment} |
| 9450 | +\rSec3[util.smartptr.shared.assign]{Assignment} |
9451 | 9451 |
|
9452 | 9452 | \indexlibrarymember{operator=}{shared_ptr}%
|
9453 | 9453 | \begin{itemdecl}
|
|
9502 | 9502 | \returns \tcode{*this}.
|
9503 | 9503 | \end{itemdescr}
|
9504 | 9504 |
|
9505 |
| -\rSec3[util.smartptr.shared.mod]{\tcode{shared_ptr} modifiers} |
| 9505 | +\rSec3[util.smartptr.shared.mod]{Modifiers} |
9506 | 9506 |
|
9507 | 9507 | \indexlibrarymember{swap}{shared_ptr}%
|
9508 | 9508 | \begin{itemdecl}
|
|
9551 | 9551 | \effects Equivalent to \tcode{shared_ptr(p, d, a).swap(*this)}.
|
9552 | 9552 | \end{itemdescr}
|
9553 | 9553 |
|
9554 |
| -\rSec3[util.smartptr.shared.obs]{\tcode{shared_ptr} observers} |
| 9554 | +\rSec3[util.smartptr.shared.obs]{Observers} |
9555 | 9555 | \indexlibrarymember{get}{shared_ptr}%
|
9556 | 9556 | \begin{itemdecl}
|
9557 | 9557 | element_type* get() const noexcept;
|
|
9670 | 9670 |
|
9671 | 9671 | \end{itemdescr}
|
9672 | 9672 |
|
9673 |
| -\rSec3[util.smartptr.shared.create]{\tcode{shared_ptr} creation} |
| 9673 | +\rSec3[util.smartptr.shared.create]{Creation} |
9674 | 9674 |
|
9675 | 9675 | \pnum
|
9676 | 9676 | The common requirements that apply to
|
|
9943 | 9943 | \end{example}
|
9944 | 9944 | \end{itemdescr}
|
9945 | 9945 |
|
9946 |
| -\rSec3[util.smartptr.shared.cmp]{\tcode{shared_ptr} comparison} |
| 9946 | +\rSec3[util.smartptr.shared.cmp]{Comparison} |
9947 | 9947 |
|
9948 | 9948 | \indexlibrarymember{operator==}{shared_ptr}%
|
9949 | 9949 | \begin{itemdecl}
|
|
10065 | 10065 | The second function template returns \tcode{!(nullptr < a)}.
|
10066 | 10066 | \end{itemdescr}
|
10067 | 10067 |
|
10068 |
| -\rSec3[util.smartptr.shared.spec]{\tcode{shared_ptr} specialized algorithms} |
| 10068 | +\rSec3[util.smartptr.shared.spec]{Specialized algorithms} |
10069 | 10069 |
|
10070 | 10070 | \indexlibrarymember{swap}{shared_ptr}%
|
10071 | 10071 | \begin{itemdecl}
|
|
10077 | 10077 | \pnum\effects Equivalent to \tcode{a.swap(b)}.
|
10078 | 10078 | \end{itemdescr}
|
10079 | 10079 |
|
10080 |
| -\rSec3[util.smartptr.shared.cast]{\tcode{shared_ptr} casts} |
| 10080 | +\rSec3[util.smartptr.shared.cast]{Casts} |
10081 | 10081 |
|
10082 | 10082 | \indexlibrarymember{static_pointer_cast}{shared_ptr}%
|
10083 | 10083 | \begin{itemdecl}
|
|
10202 | 10202 | \tcode{p} have been destroyed. \end{note}
|
10203 | 10203 | \end{itemdescr}
|
10204 | 10204 |
|
10205 |
| -\rSec3[util.smartptr.shared.io]{\tcode{shared_ptr} I/O} |
| 10205 | +\rSec3[util.smartptr.shared.io]{I/O} |
10206 | 10206 |
|
10207 | 10207 | \indexlibrarymember{operator<<}{shared_ptr}%
|
10208 | 10208 | \begin{itemdecl}
|
|
10284 | 10284 | containers. The template parameter \tcode{T} of \tcode{weak_ptr} may be an
|
10285 | 10285 | incomplete type.
|
10286 | 10286 |
|
10287 |
| -\rSec3[util.smartptr.weak.const]{\tcode{weak_ptr} constructors} |
| 10287 | +\rSec3[util.smartptr.weak.const]{Constructors} |
10288 | 10288 |
|
10289 | 10289 | \indexlibrary{\idxcode{weak_ptr}!constructor}%
|
10290 | 10290 | \begin{itemdecl}
|
|
10332 | 10332 | \tcode{r} shall be empty. \tcode{r.use_count() == 0}.
|
10333 | 10333 | \end{itemdescr}
|
10334 | 10334 |
|
10335 |
| -\rSec3[util.smartptr.weak.dest]{\tcode{weak_ptr} destructor} |
| 10335 | +\rSec3[util.smartptr.weak.dest]{Destructor} |
10336 | 10336 |
|
10337 | 10337 | \indexlibrary{\idxcode{weak_ptr}!destructor}%
|
10338 | 10338 | \begin{itemdecl}
|
|
10344 | 10344 | effect on the object its stored pointer points to.
|
10345 | 10345 | \end{itemdescr}
|
10346 | 10346 |
|
10347 |
| -\rSec3[util.smartptr.weak.assign]{\tcode{weak_ptr} assignment} |
| 10347 | +\rSec3[util.smartptr.weak.assign]{Assignment} |
10348 | 10348 |
|
10349 | 10349 | \indexlibrarymember{operator=}{weak_ptr}%
|
10350 | 10350 | \begin{itemdecl}
|
|
10374 | 10374 | \pnum\returns \tcode{*this}.
|
10375 | 10375 | \end{itemdescr}
|
10376 | 10376 |
|
10377 |
| -\rSec3[util.smartptr.weak.mod]{\tcode{weak_ptr} modifiers} |
| 10377 | +\rSec3[util.smartptr.weak.mod]{Modifiers} |
10378 | 10378 | \indexlibrarymember{swap}{weak_ptr}%
|
10379 | 10379 | \begin{itemdecl}
|
10380 | 10380 | void swap(weak_ptr& r) noexcept;
|
|
10393 | 10393 | \pnum\effects Equivalent to \tcode{weak_ptr().swap(*this)}.
|
10394 | 10394 | \end{itemdescr}
|
10395 | 10395 |
|
10396 |
| -\rSec3[util.smartptr.weak.obs]{\tcode{weak_ptr} observers} |
| 10396 | +\rSec3[util.smartptr.weak.obs]{Observers} |
10397 | 10397 | \indexlibrarymember{use_count}{weak_ptr}%
|
10398 | 10398 | \begin{itemdecl}
|
10399 | 10399 | long use_count() const noexcept;
|
|
10445 | 10445 | \end{itemdescr}
|
10446 | 10446 |
|
10447 | 10447 |
|
10448 |
| -\rSec3[util.smartptr.weak.spec]{\tcode{weak_ptr} specialized algorithms} |
| 10448 | +\rSec3[util.smartptr.weak.spec]{Specialized algorithms} |
10449 | 10449 |
|
10450 | 10450 | \indexlibrarymember{swap}{weak_ptr}%
|
10451 | 10451 | \begin{itemdecl}
|
|
0 commit comments