On Sunday, 3 February 2019 at 16:33:48 UTC, Emil wrote:

Is this for real, static arrays at runtime without manually allocating memory ? Is this legitimate or should I expect problems ?

Static arrays are always allocated at run-time. It's the size of the array that must be known at compile-time (in this case via a template parameter).

What's the advantage (or the essential difference) of
    auto data = static_array!(int, 5);
instead of
    int[5] data;
? Just asking ;) but it's good to play.

What does not compile on my end are the run-time parameters (3) and (2)...?

Reply via email to