Normalizing Const Syntax.
    Georg Wrede 
    georg at nospam.org
       
    Fri Apr 11 13:17:51 PDT 2008
    
    
  
Hans W. Uhlig wrote:
> same for classes:
> 
> const class foo § extends bar {
>     const int x;
>     pure foo(const int, const double) § returns invariant string;
>     // ... more code ...
> }
> 
> (Note: § is used as a divider because no one uses it for anything in 
> programming and I didn't want to start an argument over : or | or ; or 
> any other punctuation being used elsewhere and being bad, quite possible 
> punctuation wouldn't be neccessary)
It's not used because it's not found in the american keyboard.
    
    
More information about the Digitalmars-d
mailing list