Memory Management Scripts & Reviews @ Your Free Web Pages
20 links (20 regular and 0 reciprocal) in this category
|
Using auto_ptr Effectively
Explains why auto_ptr neatly solves common C++ design and coding problems, and why using it can lead to more robust code. Rating: (0/5 based on 0 votes)Hits Out: 0 | Hits In: 0 Rate | Report | Bookmark | Details | Comments (0) Submitted 02/03/05 |
To New, Perchance to Throw, Part 1
Explains why a class that provides its own class-specific operator new(), or operator new[](), should also provide corresponding class-specific versions of plain new, in-place new, and nothrow new. Rating: (0/5 based on 0 votes)Hits Out: 0 | Hits In: 0 Rate | Report | Bookmark | Details | Comments (0) Submitted 02/03/05 |
|
To New, Perchance to Throw, Part 2
Delves deeper into the question of what operator new() failures mean, and how best to detect and handle them. Rating: (0/5 based on 0 votes)Hits Out: 0 | Hits In: 0 Rate | Report | Bookmark | Details | Comments (0) Submitted 02/03/05 |
The Rule of The Big Two
Matthew and Bjorn update the well-known Rule of The Big Three, explaining which one of those member functions is not always needed. Rating: (0/5 based on 0 votes)Hits Out: 0 | Hits In: 0 Rate | Report | Bookmark | Details | Comments (0) Submitted 02/03/05 |
|
Smart Pointers
Andrei Alexandrescu navigates through the sometimes treacherous waters of using smart pointers, which imitate built-in pointers in syntax and semantics but perform a host of additional tasks that built-in pointers can't. Rating: (0/5 based on 0 votes)Hits Out: 0 | Hits In: 0 Rate | Report | Bookmark | Details | Comments (0) Submitted 02/03/05 |
Smart Pointers in C++
Andrei Alexandrescu discusses smart pointers, from their simplest aspects to their most complex ones and from the most obvious errors in implementing them to the subtlest ones--some of which also happen to be the most gruesome. Rating: (0/5 based on 0 votes)Hits Out: 0 | Hits In: 0 Rate | Report | Bookmark | Details | Comments (0) Submitted 02/03/05 |
|
Smart Pointers: What, Why, Which?
Explains what smart pointers are, why they should be used, and which one should be used. Rating: (0/5 based on 0 votes)Hits Out: 0 | Hits In: 0 Rate | Report | Bookmark | Details | Comments (0) Submitted 02/03/05 |
Smart Pointers in Boost
Introduces smart pointers and takes a look at Boosts various smart pointer templates (scoped_ptr, scoped_array, shared_ptr, and shared_array). Rating: (0/5 based on 0 votes)Hits Out: 0 | Hits In: 0 Rate | Report | Bookmark | Details | Comments (0) Submitted 02/03/05 |
|
Memory Hygiene in C and C++: Safe Programming with Risky Data
Memory management is scary. It should be: A lot can go wrong--often very wrong. But a moderately experienced C or C++ programmer can learn and understand memory hazards completely. Rating: (0/5 based on 0 votes)Hits Out: 0 | Hits In: 0 Rate | Report | Bookmark | Details | Comments (0) Submitted 02/03/05 |
Memory Management in C++
Covers the design of a global memory manager that is as fast and space-efficient as per-class allocators. Rating: (0/5 based on 0 votes)Hits Out: 0 | Hits In: 0 Rate | Report | Bookmark | Details | Comments (0) Submitted 02/03/05 |
|
Effective C++ Memory Allocation
Using several features of the language, this article presents a framework for resource allocation which is temporally deterministic, provides for callback, provides memory pools, and can provide for deadlock prevention. Rating: (0/5 based on 0 votes)Hits Out: 0 | Hits In: 0 Rate | Report | Bookmark | Details | Comments (0) Submitted 02/03/05 |
Counted Body Techniques
Introduces two key concepts: the use of a generic requirements based approach to simplify and adapt the use of the counted body pattern and the ability to dynamically and non-intrusively add capabilities to fixed types using the runtime mixin pattern. Rating: (0/5 based on 0 votes)Hits Out: 0 | Hits In: 0 Rate | Report | Bookmark | Details | Comments (0) Submitted 02/03/05 |
|
Containers in Memory: How Big Is Big?
Answers the question of how much memory the various standard containers use to store the same number of objects of the same type T. Rating: (0/5 based on 0 votes)Hits Out: 0 | Hits In: 0 Rate | Report | Bookmark | Details | Comments (0) Submitted 02/03/05 |
C++ Tutorial - Dynamic Memory Allocation
This tutorial covers dynamic memory allocation in C++ for both single objects and arrays of objects. A common beginner bug, dangling pointers, is also described. Rating: (0/5 based on 0 votes)Hits Out: 0 | Hits In: 0 Rate | Report | Bookmark | Details | Comments (0) Submitted 02/03/05 |

(0/5 based on 0 votes)