1991
DOI: 10.1145/122616.122622
|View full text |Cite
|
Sign up to set email alerts
|

C++'s destructors can be destructive

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1

Citation Types

0
3
0

Year Published

1992
1992
2000
2000

Publication Types

Select...
3
1

Relationship

1
3

Authors

Journals

citations
Cited by 4 publications
(3 citation statements)
references
References 0 publications
0
3
0
Order By: Relevance
“…Since the destructor is called automatically, the user may not know that the internal structures of an object have been unexpectedly destroyed. The result is disastrous and difficult to debug [14]. As an example, consider a class A that contains a pointer P and a destructor for releasing the space pointed to by P, This may be surprising for beginner C++ programmers.…”
Section: Memory Managementmentioning
confidence: 99%
“…Since the destructor is called automatically, the user may not know that the internal structures of an object have been unexpectedly destroyed. The result is disastrous and difficult to debug [14]. As an example, consider a class A that contains a pointer P and a destructor for releasing the space pointed to by P, This may be surprising for beginner C++ programmers.…”
Section: Memory Managementmentioning
confidence: 99%
“…There are several approaches to color OLED displays, among them: pixels emitting blue light with fluorescing color changing media (CCM) on top of them [1]; pixels emitting white light with color filters on top of them [2]; and self-emissive pixelated display with RGB pixels placed next to each other [3]. In principle, the latter approach allows the best possible performance because no light is lost for filter absorption or color conversion.…”
Section: Introductionmentioning
confidence: 99%
“…Secondly, if instead the object is created in heap memory (free store) and a reference is returned, the problem of how the memory occupied by such an object ever get reclaimed arises. This is a 'memory leak' situation [1] [2].…”
mentioning
confidence: 99%