Boost logo

Boost :

From: Daryle Walker (darylew_at_[hidden])
Date: 2001-04-22 16:55:07


The "dlw_util.zip" archive, at version 1 in the vault, adds template classes
that support Ron's member idiom to <boost/utility.hpp>. These classes came
from the "more_io.zip" archive.

These template classes get around the problem of a class's base class
needing to be initialized by a member of the (first) class. This isn't
proper in C++ since the initialization order is the wrong way (all bases go
before members). The workaround is to use auxiliary base classes that get
declared, and therefore initialized, before the desired base class.

There is also a little clean-up in the header (removed unnecessary
#includes). There is a new HTML documentation file, a new test *.cpp file,
and an (internally) reformatted main HTML documentation file.

Check out the new code, it hopefully shouldn't choke on any compilers.
(Unless your compiler doesn't support value-based template arguments or
defaults for said arguments.) Who would check this over to get it
incorporated in the main version?

-- 
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk