Boost logo

Boost :

Subject: Re: [boost] Bug with gcc and array
From: Andreas Klein (klein_at_[hidden])
Date: 2008-11-26 01:51:29


>> Do have a reference for me were to find the implementation limits?
> ulimit on UNIX-like operating systems.
>
>> Would it a good idea to add a static assert to boost::array that ensures
>> that the array size is small enough? I think a error message at compile
>> time is more help full than Segmentation fault at run time.
> On UNIX-like operating systems, the available stack size is usually
> defined at run-time, and can often be tweaked per process. How much stack
> memory you can safely allocate and use depends on that, so it's hard
> to provide a compile time error.

Thanks for the explation.


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