File: memory.yo

package info (click to toggle)
c%2B%2B-annotations 12.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 13,044 kB
  • sloc: cpp: 24,337; makefile: 1,517; ansic: 165; sh: 121; perl: 90
file content (107 lines) | stat: -rw-r--r-- 2,794 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
includefile(memory/intro)

sect(Operators `new' and `delete')
includefile(memory/new)

    lsubsect(NEWARRAY)(Allocating arrays)
    includefile(memory/newarray)

    lsubsect(DELETEARRAY)(Deleting arrays)
    includefile(memory/deletearray)

    lsubsect(ENLARGEARRAY)(Enlarging arrays)
    includefile(memory/enlargearray)

    subsect(Managing `raw' memory)
    includefile(memory/raw)

    lsubsect(PLACEMENT)(The `placement new' operator)
    includefile(memory/placement)

lsect(DESTRUCTOR)(The destructor)
includefile(memory/destructor)

    lsubsect(DELETEPTRS)(Object pointers revisited)
    includefile(memory/objectp)

    lsubsect(NEWHANDLER)(The function set_new_handler())
    includefile(memory/setnew)

lsect(ASSIGNMENT)(The assignment operator)
includefile(memory/assignment)

    lsubsect(OVERLOADASSIGN)(Overloading the assignment operator)
    includefile(memory/overload)

    subsubsect(The member 'operator=()')
    includefile(memory/operator)

sect(The `this' pointer)
includefile(memory/this)

    subsect(Sequential assignments and this)
    includefile(memory/sequential)

lsect(COPYCONS)(The copy constructor: initialization vs. assignment)
includefile(memory/initialization)

lsect(CopyDestroy)(Revising the assignment operator)
includefile(memory/revising)

    subsect(Swapping)
    includefile(memory/swapping)

        lsubsubsect(FSWAP)(Fast swapping)
        includefile(memory/fastswap)

lsect(MOVE)(Moving data)
includefile(memory/moving.yo)

    lsubsect(MOVECONS)(The move constructor (dynamic data))
    includefile(memory/move)

    subsect(The move constructor (composition))
    includefile(memory/movecomposition)

    lsubsect(MOVEASS)(Move-assignment)
    includefile(memory/moveassignment)

    lsubsect(REVISEDASS)(Revising the assignment operator (part II))
    includefile(memory/revising2)

    subsect(Moving and the destructor)
    includefile(memory/movedestructor)

    subsect(Move-only classes)
    includefile(memory/moveonly)

    subsect(Default move constructors and assignment operators)
    includefile(memory/default)

    lsubsect(MOVEPRINCIPLE)(Moving: implications for class design)
    includefile(memory/moveimplications)

lsect(RVO)(Copy Elision and Return Value Optimization)
includefile(memory/elision.yo)

lsect(UNIONS)(Unrestricted Unions)
includefile(memory/unrestricted)

    subsect(Implementing the destructor)
    includefile(memory/uniondestructor)

    subsect(Embedding an unrestricted union in a surrounding class)
    includefile(memory/unionembedding)

    subsect(Swapping unrestricted unions)
    includefile(memory/unionswap)

    subsect(Assignment)
    includefile(memory/unionassignment)


lsect(POD)(Aggregate Data Types)
includefile(memory/aggregate)

sect(Conclusion)
includefile(memory/conclusion)