![]()
February 2003
Volume 21 Number 2Testing & Debugging
Automated Memory Checking in C
Zlatko Marcok
If you know the physical layout of your system's memory, you can verify its integrity automatically. Here's how.Testing with Paired Messages
John Torjo
A trace file can help debug a program, but only if you can decipher the trace file. This technique will help.FEATURES
Programming Guidelines for Vectorizing C/C++ Compilers
Aart Bik, Milind Girkar, Paul Grey and Xinmin Tian
Since there really is no such thing as Òfast enough,Ó hereÕs a great way to squeeze more out of that machine of yours.Two C++ Gotchas
Steve Dewhurst
Get this before they get you.More on the C/C++ Comment Macro for Debug Statements
Randall C. Chang
A portable technique for managing multi-line debug statements.CONTRIBUTING EDITORS
The Embedded Angle The Embedded Mindset
Miro Samek
Innovation in skinning the Heap Cat.Conversations Points of Order
Jim Hyslop & Herb Sutter
A poignant reminder that locks tend to be global, despite appearances to the contrary, and should be verified globally.STL & Generic Programming C++ Metaprogramming Applied
Thomas Becker
Template metaprogramming transcends academic musing. This article serves as a bridge to its practical uses.C++ Made Easier Handles and Exception Safety, Part 4: Tracking References without Counters
Andrew Koenig and Barbara E. Moo
Intelligent design gives you a Better Handle -- efficient, non-intrusive, and exception-safe.DEPARTMENTS
Editors Forum
New Products
We Have Mail
C++ EXPERTS ON THE WEB
Generic<Programming> Move Constructors
by Andrei Alexandrescu
This article introduces Mojo, a compact framework for eliminating unnecessary copying of temporary objects. Mojo features 100% elimination of unnecessary copies if you operate minimal changes to source code and observe some simple rules. If you ever wished to return objects from functions, improve the string manipulation speed of your application, or simply get more efficient code without compromising its elegance, it looks like you could use some Mojo. This article gives a long but comprehensive account of Mojo.Common Knowledge typeints
by Steve Dewhurst
A scheme for mapping integers to types.The New C++ Trip Report, October 2002
by Herb Sutter
This month, an update on the most recent C++ Standards meeting, and why things are (finally) heating up.Book Review: "C++ Templates, The Complete Guide"
by Marc Briand
Former CUJ Editor-in-Chief Marc Briand reviews David Vandevoorde's and Nicolai M. Josuttis's new guidebook for understanding templates in C++.Using Templates in Practice
by Nicolai M. Josuttis and David Vandevoorde
This excerpt from Vandevoorde's and Josuttis's "C++ Templates, The Complete Guide" offers a practical look at how to apply templates to everyday programming.XML-Based Factories and Reusable Components
by Gualtiero Chiaia
A look at how to use factory objects to extract information from an XML source.