Fixing const arrays

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Mon Dec 12 07:14:03 PST 2011


On 12/12/11 9:07 AM, Jakob Ovrum wrote:
> If the programmer sees just "r.save", he
> doesn't know whether it's a field or a property, and he shouldn't need
> to know, it should be fast and cheap, and return a consistent value. As
> far as I know, this isn't always true for save

Why? Save does behave like a field for the vast majority of structs.

Andrei


More information about the Digitalmars-d mailing list