On Tuesday, 1 April 2014 at 22:32:28 UTC, bearophile wrote:
Eventually this should work, and avoid the nasty cast:

immutable bool[256] tab3 =
    ubyte
    .max
    .iota!"[]"

I can't decide if this part is brilliant or terrible. Clever, either way.

Reply via email to