Using pure to create immutable

bearophile bearophileHUGS at lycos.com
Thu Sep 22 16:32:42 PDT 2011


Jesse Phillips:

> Thank you this lets it compile. I think I had that somewhere, but forgot about it. As Steve mentions, it probably should also work for const arguments too.

If you are convinced of this, then I suggest you to add an enhancement request in Phobos about it. It will make purity more and more useful.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list