Subject: Re: [boost] [array] remove static qualifier for size(), empty() and max_size() member function
From: Matt Calabrese (rivorus_at_[hidden])
Date: 2009-03-15 10:17:10
I'm not certain it actually does cause a problem. I'd have to check, but
doesn't the standard technically just specify the behavior of the expression
your_container.size(), etc., not that the functions must be non-static? You
can still do your_array.size() or your_array.empty(), etc. even though the
functions are static to the class.
On Sun, Mar 15, 2009 at 8:33 AM, herve martin <hervemart1_at_[hidden]> wrote:
> I guess that the static qualifier for size(), empty() and max_size()
> makes the boost::array template class unsuitable for the STL sequence
> container interface.
> I recommend to remove the static qualifier.
> Anyone agrees with me ?
> best regards, herve
> Unsubscribe & other changes:
-- -Matt Calabrese
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk