Boost logo

Boost :

From: Valentin Bonnard (Bonnard.V_at_[hidden])
Date: 1999-08-19 08:30:15


Reid Sweatman wrote:
>
> > What do you mean exactly ?
> >
> > The following ?
> >
> > class foo
> > {public:
> > foo (bool initialise) { if (initialise) value = 0; }
> > };
>
> Well, something more like:
>
> class foo {
> public:
> foo(bool initialise = false) { if(initialize) Initialize();
> }
> };

OK

As such it will take more time to do the test
than tp initialise four chars to 0. (I mean
way more time on modern processors.)

> I admit, I may be unclear on what's being initialized here: the iterator
> itself, or the container, since I've lost some thread continuity.

We where talking about bin32, bin24, bin16, and bin8
defined in bin_ubin.hpp (see the subject line).

-- 
Valentin Bonnard

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