File: memory.yo

package info (click to toggle)
c%2B%2B-annotations 10.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 10,536 kB
  • ctags: 3,247
  • sloc: cpp: 19,157; makefile: 1,521; ansic: 165; sh: 128; perl: 90
file content (91 lines) | stat: -rw-r--r-- 2,380 bytes parent folder | download
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
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(POD)(Plain Old Data)
includefile(memory/pod)

sect(Conclusion)
includefile(memory/conclusion)