Normalizing Const Syntax.

Simen Kjaeraas simen.kjaras at gmail.com
Thu Apr 10 07:23:05 PDT 2008


On Thu, 10 Apr 2008 15:03:30 +0200, Janice Caron <caron800 at googlemail.com>  
wrote:

>     const(this)
>     {
>         /* lots of functions */
>     }
>
> Only something-at-the-front can do this.

Could we not do like this:

{
     /* lots of functions */
} const;

:p



More information about the Digitalmars-d mailing list