Assigning global and static associative arrays

Ali Çehreli acehreli at yahoo.com
Sun Sep 2 11:50:24 PDT 2012


On 09/02/2012 06:45 AM, monarch_dodra wrote:

 > Is there *any* scenario where one would choose the enum over the
 > static immutable...?

That's a good question. If Timon Gehr's example is the only difference, 
I wonder whether the guidelines that I had come up with are still 
valuable? I would appreciate if someone could review the guidelines 
under the "How to use" section here:

   http://ddili.org/ders/d.en/const_and_immutable.html

Ali



More information about the Digitalmars-d-learn mailing list