Fully transitive const is not necessary

Leandro Lucarella llucax at gmail.com
Thu Apr 3 07:48:34 PDT 2008


Janice Caron, el  2 de abril a las 08:00 me escribiste:
> On 02/04/2008, Jason House <jason.james.house at gmail.com> wrote:
> > And how do global variables fit into that?  Technically, they're always
> >  reachable and never inherit const.
> 
> Global variables will /not/ be reachable from a pure function. Example:

And how is that related to transitive const? pure functions could be
implemented in D1.0 without const at all...

-- 
Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
----------------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------------
You can try the best you can
If you try the best you can
The best you can is good enough



More information about the Digitalmars-d mailing list