The Wayback Machine - https://web.archive.org/web/20160201081406/http://www.codeguru.com/cpp/misc/misc/memory/

Latest Memory Articles

C++ Programming: A Better Vector Trim Algorithm With Move Semantics

Vectors are one of the single most useful and most used objects in the STL. They are easy to use, and remove the burden of memory management from the user. It is possible to partially control memory usage by using functions like reserve, but nothing is provided to free up excess memory. Users have come up with ways to trim a vector by hand, but with the advent of the new C++0x and its move semantics, the classic solution of copy-swaping has become excessively expensive. This article seeks to find a better solution.

Latest Developer Videos

More...

Latest CodeGuru Developer Columns

Managing Your Drives Using C#

Managing Your Drives Using C#

Sooner or later you'll need to find out about, and deal with, the various storage devices ("drives") available in your system.

Top White Papers and Webcasts

  • Snapshot-based data protection solutions were supposed to solve our backup challenges, weren't they? Then why are your backups still broken? Many issues with snapshots point to a need for better snapshot creation and management capabilities, to make backup and recovery more intelligent and more likely to succeed. If your snapshots are manually managed or of the "build-it-yourself" variety, there may be several reasons that they aren't working very well. Read this white paper to learn the five reasons why your …

  • Flash technology is rapidly evolving. Chances are the game has changed since you last checked. With every step forward, flash storage is becoming faster, more reliable, and less expensive. And there's more than one kind of flash technology out there. Some flash focuses on performance, while others balance performance with capacity. Read this white paper for a technical breakdown of the latest in flash storage. Learn how flash has changed in the last few years, and how the economics have shifted. Learn how …

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date