Initialisation of static immutable arrays

Lars T. Kyllingstad public at kyllingen.NOSPAMnet
Wed Oct 6 03:18:28 PDT 2010


On Wed, 06 Oct 2010 10:16:45 +0000, Lars T. Kyllingstad wrote:

>       static immutable int[3] = [1, 2, 3];

..should of course be

  static immutable int[3] a = [1, 2, 3];

-Lars


More information about the Digitalmars-d-learn mailing list