[Issue 15853] [std.random] save method must be immutable

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Mar 30 12:02:53 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=15853

--- Comment #1 from Stepan Rogonov <rogonovstepan at gmail.com> ---
Possible solution(IMHO):

@property typeof(this) save() @safe pure nothrow immutable
{
    return this;
}

--


More information about the Digitalmars-d-bugs mailing list