Boost logo

Boost :

From: rwgk_at_[hidden]
Date: 2001-09-06 14:09:22


Uh... the answer is actually in the documentation:
  Regarding the constructors there was an important design tradeoff...
Sorry for the noise.
Ralf

--- In boost_at_y..., rwgk_at_y... wrote:
> The template class boost:array (array.hpp) does not
> include constructors. However, I believe that it would
> be useful to provide a constructor like:
>
> array(const T& value) { assign(value); }
>
> Then we would also need a default constructor:
>
> array() {}
>
> Are there possible side-effects when adding these
> constructors that I do not know about? If not, could
> these be added?
>
> Thanks!
> Ralf


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