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

    a.b()

syntax even if b is a static member function.

    -- Darin


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