From: Tom Brinkman (reportbase_at_[hidden])
Date: 2005-05-05 09:23:42
The FOREACH macro has been accepted in to boost.
The "singleton" library review starts today 5-May-2005.
If you haven't done so already, download the library at
http://tinyurl.com/6qvrd and submit a review by 15-May-2005.
Review Queue as of May 5, 2005
1) Singleton (5-May-2005; Ends: 15-May-2005)
2) Typeof (Starts: 20-May-2005; Ends: 30-May-2005)
3) Function Types (To be confirmed: 5-June-2005; Ends: 15-June-2005)
5) Policy Pointer
Possible Future Reviews:
6) Fixed Strings
7) Intrusive (Review Manager Needed)
8) TR1 (Review Manager Needed)
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.
Author: Arkadiy Vertleyb
Arkadiy Vertleyb, Peder Holt
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
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.
3) Function Types
Author: Tobias Schwinger
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.
4) Logging Library
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
- solved other small issues, based on feedback
- slightly improved documentation
5) Policy Pointer
Author: David B. Held
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.
6) Fixed Strings
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.
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 acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk