Boost logo

Boost :

From: AlisdairM (alisdair.meredith_at_[hidden])
Date: 2005-05-28 02:47:12


Michael B. Edwin Rickert wrote:

> I hope I've got the right list here (first time poster), my apologies
> if I don't :-).
>
> boost::array fails a ContainerConcept check in 1.32 due to it's lack
> of a const_pointer typedef:

Note that boost::array is not a (standard) conforming container anyway!

Array, by design, has a fixed number of elements. The container
concept requires the ability to add and remove elements.

Likewise, the pointer and const_pointer requirements are part of
allocator support. As boost::array does not support allocators, it
should not need these elements and any tests requiring them is flawed.

-- 
AlisdairM

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