{logo}

December 2002
Volume 20 Number 12

Internet & Network programming

Fast UDP-Based Network Storage

Tim Kientzle
If network performance is critical, you can bypass that database of yours with this clever approach.

A Templated Library for Fast Multiplexing

Christopher Rooney
If the number of your network connections hits the stratosphere, then you need this.

FEATURES

Adaptable-Size Classes

Julian Bushell
Save space by letting the C++ template facility generate classes with only the data you need.

C/C++ Tip #10: Efficient Integer to String Conversions

Matthew Wilson
The fastest to_string in town.

How to Use Tcl and C Together

Cameron Laird
Mixing Tcl and C/C++ just got a whole lot easier.

C/C++ Tip #11: Overwrite Iterator

Ray Virzi
A very handy iterator that saves heap operations.

CONTRIBUTING EDITORS

Common Knowledge — A Bitwise typeof Operator, Part 3

Steve Dewhurst
As Steve finishes his singular implementation of a typeof operator, you’ll see why the C++ language needs this feature. It’s too hard to get right!

C++ Made Easier — Handles and Exception Safety, Part 3: Non-Intrusive Reference Counting

Andrew Koenig & Barbara E. Moo
More wisdom on using abstraction to achieve exception-safe designs.

STL & Generic Programming — Typelists

Thomas Becker
Variable-length template argument lists are a cinch with this fundamental metaprogramming technique.

DEPARTMENTS

Editor’s Forum

New Products

We Have Mail

C++ EXPERTS ON THE WEB

“Generic<Programming>: Efficient Generic Sorting and Searching in C++ (II) — Sorting through Sorts of Sort Algorithms (Well, Sort Of)”

by Andrei Alexandrescu
It’s not everyday that you get to read about randomized algorithms and loop unrolling through template recursion in the same article. The result is a cool generic sorting function, taken from the legendary YASLI.

“Conversations: It’s an Object-ful Lifetime”

by Jim Hyslop
It is possible to bind a temporary object to a non-constant reference, at least indirectly. As with all unusual techniques (sometimes pronounced “hacks”), you must pay close attention. In this case, object lifetimes play a significant role.

“The New C++: Typedef Templates”

by Herb Sutter
Here’s a detailed look at the typedef template proposal for the next C++ Standard.

“Unmanaged Pointers in C++: Parameter Evaluation, auto_ptr, and Exception Safety”

by Herb Sutter
An excerpt from his book More Exceptional C++.