Boost logo

Boost :

From: Darin Adler (darin_at_[hidden])
Date: 2002-02-05 20:25:23


On 2/5/02 1:08 PM, "AlisdairM" <AlisdairM_at_[hidden]> wrote:

> If the fixed_* templates are drop-in replacements for their STL namesakes,
> then shouldn't the STL adaptors work unmodified?

The fixed_* templates are almost drop-in replacements for the
similarly-named containers in the standard library. The fixed_* versions are
intended to be used when a fixed capacity limit is acceptable, and greater
speed or memory efficiency is needed. Beman's timings indicated a speedup of
as much as 8x in some cases, and the memory savings are significant too.

This is the rationale for providing them.

    -- Darin


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