Boost logo

Boost :

From: Darin Adler (darin_at_[hidden])
Date: 2002-02-05 11:27:14

On 2/5/02 8:23 AM, "Dan Nuffer" <dnuffer_at_[hidden]> wrote:

> Just one question. Why did you make capacity() and max_size() be
> static? If they're static, a generic algorithm that relies on calling
> either one would not work with for both a std::vector and a
> boost::fixed_capacity_vector.

That's not true. You can use the


syntax even if b is a static member function.

    -- Darin

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