Skip to content
Memoize struct or class properties (Dlang)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
source
.gitignore
LICENSE
README.md
dub.json

README.md

memoize-dlang

Memoize struct or class properties (Dlang)

import memoize;

struct S {
    @property float _x() { return 1.5; }
    mixin CachedProperty!"x";
}
You can’t perform that action at this time.