Discrete

Discrete Space

struct Discrete {
long n;
}

Alias This

n

Examples

1     static assert(isSpace!Discrete);
2 
3     auto s = `{
4    "name": "Discrete",
5    "n": 123
6 }`;
7     auto j = s.parseJSON;
8     assert(Discrete.from(j) == Discrete(123));

Meta