—SEC. 06 — Memory Management

Memory Management

Subcategories0
Indexed links15
Direct links15
Total subtree0
— SEC. 01
Listings

All links in this category.

Showing 1–15 of 15 editor-approved links.

Showing 15 on this page
Memory_Management
Memory Management in C++
www.cantrip.org

Covers the design of a global memory manager that is as fast and space-efficient as per-class allocators.

Added Oct 26, 2026
Memory_Management
To New, Perchance to Throw, Part 2
www.gotw.ca

Delves deeper into the question of what operator new() failures mean, and how best to detect and handle them.

Added Oct 26, 2026
Memory_Management
To New, Perchance to Throw, Part 1
www.gotw.ca

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.

Added Oct 26, 2026
Memory_Management
Containers in Memory: How Big Is Big?
www.gotw.ca

Answers the question of how much memory the various standard containers use to store the same number of objects of the same type T.

Added Oct 26, 2026
Memory_Management
Using auto_ptr Effectively
www.gotw.ca

Explains why auto_ptr neatly solves common C++ design and coding problems, and why using it can lead to more robust code.

Added Oct 26, 2026
Memory_Management
Smart Pointers: What, Why, Which?
ootips.org

Explains what smart pointers are, why they should be used, and which one should be used.

Added Oct 26, 2026
Memory_Management
The Rule of The Big Two
www.artima.com

Matthew and Bjorn update the well-known Rule of The Big Three, explaining which one of those member functions is not always needed.

Added Oct 26, 2026
Memory_Management
"Pure Virtual Function Called": An Explanation
www.artima.com

This article provides an in-depth look at the "pure virtual function called" error message.

Added Oct 26, 2026
Memory_Management
A Generic Non-intrusive Smart Pointer Implementation
www.justsoftwaresolutions.co.uk

This article follows through the implementation of a smart pointer class that overcames deficiencies of existing smart pointer implementations.

Added Oct 26, 2026
Memory_Management
Memory Hygiene in C and C++: Safe Programming with Risky Data
www.informit.com

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.

Added Oct 26, 2026
Memory_Management
Smart Pointers in C++
www.informit.com

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.

Added Oct 26, 2026
Memory_Management
C++ Memory and Resource Management
www.informit.com

Stephen Dewhurst discusses how the various features of C++ are used together in memory management, how they sometimes interact in surprising ways, and how to simplify their interactions.

Added Oct 26, 2026
Memory_Management
Smart Pointers
www.informit.com

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.

Added Oct 26, 2026
Memory_Management
Counted Body Techniques
www.boost.org

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.

Added Oct 26, 2026
Memory_Management
Smart Pointers in Boost
www.drdobbs.com

Introduces smart pointers and takes a look at Boosts various smart pointer templates (scoped_ptr, scoped_array, shared_ptr, and shared_array).

Added Oct 26, 2026