Boost logo

Boost :

From: Tom Brinkman (reportbase_at_[hidden])
Date: 2005-05-03 00:53:49

If there are no objections, I have moved the "Singleton" library
to next in the review queue. The review manager for the library will be
Pavel Vozenilek.

Tentatively: I have set the review start date for
5-May-2005. However, Paul Vozenilek will make the official announcement
when the review will begin.

The Typeof library has been moved back one in the review queue because
it still needs a review manager volunteer.
Contact Tom Brinkman at reportbase_at_[hidden] to volunteer.

Review Schedule as of May 2, 2005

1) FOREACH Macro (Starts: 25-Apr-2005; Ends: 1-May-2005)
2) Singleton (To be Confirmed: Starts: 5-May-2005; Ends: 15-May-2005)
3) Typeof (Review Manager Needed)
4) Function Types
5) Logging
6) Policy Pointer

Possible Future Reviews:
7) Fixed Strings (Review Manager Needed)
8) Intrusive (Review Manager Needed)
9) TR1 (Review Manager Needed)
10) Fusion (Review Manager Needed)

1) FOREACH Macro
Author: Eric Niebler

Review Manager: Gennadiy

Available At:,

BOOST_FOREACH is a macro that makes it
simple to iterate over STL
containers, ranges, arrays and null-terminated
strings. Its performance
approaches that of the hand-coded
equivalent loop. BOOST_FOREACH uses
Boost.Range can be extended to
iterating user-defined collections by
extending Boost.Range. Documentation is at

2) Singleton
Jason Hise

Review Manager:
Pavel Vozenilek

Availabe At:

The singleton library provides multiple
powerful methods of controlling
the lifetimes of global resources.
Client code can choose among the
many provided methods of creation,
or can easily write new creators for
specialized initialization needs. Client
code can additionally control
precisely when a singleton instance is
automatically created and
destroyed, can create and destroy
singleton instances explicitly any
number of times, and can set up
dependencies between singletons in an
easy and natural way.

3) Typeof
Author: Arkadiy Vertleyb
Arkadiy Vertleyb, Peder Holt

Review Manager: Needed

Available: (

The proposed Typeof library implements the
functionality of the non-standard
typeof() operator. Depending on the
compiler, it utilizes one of the
following three methods: 1) Forwards to the
non-standard typeof extension, usually called
__typeof__, on the compilers where such
extension is available;
2) Utilises a loophole, available on the
Microsoft vc6.5, vc7.0, and vc7.1; 3) Emulates
typeof by the means of template and
preprocessor metaprogramming
for the compilers that do not fall into
above two categories, such as vc8.0
beta, etc. This method is rather portable,
and can also be used on the
compilers that implement the __typeof__
as a language extension, when
compiling with language extensions switched off.
The emulation mode is currently working
with vc7.1, vc8.0 beta, and gcc
3.3/3.4; The MS-specific trick is
working with vc6.5, 7.0, and 7.1.
The __typeof__ extension forwarding is
working with gcc 3.3/3.4 and Metrowerks.

4) Function Types
Author: Tobias Schwinger

Review Manager:
John Maddock

Available at:

This library provides a metaprogramming facility
to classify, decompose and synthesize function-,
function pointer-, function reference- and
member function pointer types. For the purpose
of this documentation, these types are
collectively referred to as function
types (this differs from the standard
definition and redefines the term from
a programmer's perspective to refer to
the most common types that involve functions).

The classes introduced by this library
shall conform to the concepts of the
Boost Metaprogramming library (MPL).

The Function Types library enables the user to:
* test an arbitrary type for
        being a function type of specified kind,
* inspect properties of function types,
* view and modify sub types of an
        encapsulated function type with
        MPL Sequence operations, and
* synthesize function types.

This library supports variadic functions and
can be configured to support
non-default calling conventions.

5) Logging Library
John Torjo

Review Manaer:
Hartmut Kaiser

Available at:

The Boost Log Library is a small library, who:
 * makes it very easy to declare/define new logs
 * allows you very simple access to logs
 * allows for log hierarchies, and for modifying log hierarchies
 * allows for easy and efficient enabling/disabling of logs/log hierarchies
 * allows for easy manipulation of log behaviors
   (the log's destination(s) and/or adjusting the original message)
 * is thread-safe

Using the library in code is easy and straightforward:

int i = 1, j = 2, k = 3;
BOOST_LOG(app) << "testing " << i << '-' << j << '-' << k << std::endl;
BOOST_LOG(dbg) << "this is a debug message, i=" << i << std::endl;
BOOST_LOG(info) << "I just wanted to tell you something....";

Additions to v1.3.2
- can be compiled as a static/dynamic runtime
  (works as a DLL as well)
- removed dependency on boost_thread
  Note: I did not test this on Unix, but it should work.
  If anybody can take a look at detail/ts_posix.hpp, I'd
  appreciate it.
- solved other small issues, based on feedback
- slightly improved documentation

6) Policy Pointer
Author: David B. Held

Review Manager:

Available At:
Boost Sandbox under policy_ptr

Smart pointers are used to automate memory management by handling the
deletion of dynamically
allcoated objects (and other resources). They assist in ensuring
program correctness, exception
safety, and memory integrity. Policy Pointer is a policy-based smart
pointer framework designed
to accomodate the large number of smart pointer designs. Through the
use of policy classes, virtually
any smart pointer type can be constructed within this framework. This
library is a Boostification of
the original Loki::SmartPtr type with significant modifications.

7) Fixed Strings

Reece Dunn

Review Manager:

Available At:

The fixed string library provides buffer overrun protection for static
sized strings (char s[ n ]). It provides a C-style string interface for
compatibility with C code (for example, porting a C program to C++).
There is also a std::string-style interface using a class based on
flex_string by Andre Alexandrescu with a few limitations due to
the non-resizable nature of the class.


Olaf Krzikalla

Review Manager:

Available At:

Library presenting some intrusive
containers to the world of C++. While intrusive containers were and are
widely used in C, they became more and more forgotten in the C++-world
due to the presence of the standard containers, which don't support
intrusive techniques. Boost.Intrusive not only reintroduces this
technique to C++, but also encapsulates the implementation in STL-like
interfaces. Hence anyone familiar with standard containers can use
intrusive containers with ease.

Boost list run by bdawes at, gregod at, cpdaniel at, john at