From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2006-05-25 10:01:37
Vincent Bhérer-Roy wrote:
> On 25-May-06, at 06:39, Thorsten Ottosen wrote:
> Also, it will gives compile time errors for things like that:
> array<int,4> a = list_of(1)(2)(3).to_array( a ); // compiles fine
It should not be neccessary with to_array() on a conforming compiler.
> array<int,4, true> a(1,2,3); // doesn't compile
Note that the former zero-initializes the remaining elements.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk