Boost logo

Boost Users :

From: Steven E. Harris (seh_at_[hidden])
Date: 2004-09-08 15:23:55


"Frank Maddin" <frankmad_at_[hidden]> writes:

> Maybe there is a good reason for this, but I've often wondered why
> there is no version of constant size arrays that support push_back()
> and pop_back().

I recall that if one wants the array to be of a type that is not
default-constructible, the storage must be something like a raw
character array, which introduces some alignment problems. Others can
likely add more detail.

-- 
Steven E. Harris

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net