auto arr = [1, 2, 3] should be a static array, not a GC allocated array
    Ali Çehreli 
    acehreli at yahoo.com
       
    Thu Jul 14 18:36:20 UTC 2022
    
    
  
On 7/14/22 11:29, H. S. Teoh wrote:
 >> - int[static] // Aaaah... good old 'static' to the rescue. :D
 >
 > Argh, please no!! `static` is already overloaded too much in D, please
 > don't make it worse.
I don't think 'static' can get any worse. Would the following make this 
use case stand out more?
   int[static static]  // Oooh! Me likes...
 > OK, either you're pulling my leg
Was that too subtle? :) Yes, I was having fun.
Ali
    
    
More information about the Digitalmars-d
mailing list