Boost logo

Boost :

From: Jurko (Jurko_at_[hidden])
Date: 2002-08-02 10:37:14

> That depends on what you mean here.
> bool b;
> This doesn't initialize the value for b, and thus would (fuzzily) suggest
> what you're saying. However, this:
> bool b();
> initializes b to false. So I'd think the default ctor should initialize
> the state to false.

Hmmm does this really initialize b to false? Doesn't this declare a function
called b taking no parameters and returning a bool value?

Tried it out on BCB5 which said that it was a function declaration.

Just curious,

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