On 2017-07-21 14:27, Olivier FAURE wrote:

Quick questions: isn't it possible to do

     private __gshared const(char)*[24] pseudotab = Y.map!(x => x.id);

instead? That seems like the most obvious and easy to read option; and
in contrast to the other solutions proposed, it's closer to the Rule of
Least Power.

Yes, that's basically what my solution is doing [1].

[1] http://forum.dlang.org/post/oksd27$1li9$1...@digitalmars.com

--
/Jacob Carlborg

Reply via email to