This entry is a repository for useful code libraries that have been presented in C/C++ Users Journal. The article name links to the zipped file, on CUJ's site, of that issue's source code. The issue date links to the CUJ page for that issue. This will be regularly updated.
An extension of the iterator concept. Manipulate collections more succinctly.
View<> template that can contain conjunct or disjuct collections of iterators. Iterators can come from one or more collections containing the same data type. Dereferencing view<> iterators also dereferences the contained iterator.
A policy-based state machine.
Delegates are clean syntactic wrappers for callbacks. This library mimics the .NET implementation of delegates (an example of the power of C++ as a language that can subsume other languages' features without the need to change C++ itself).
A simple template for creating range-bound, single-value objects.
John Torjo has accomplished the stunning task of writing a Win32 class library that follows the principles of the Standard Library and object-oriented design. Check out his site for a full description.