On Thursday, 24 March 2016 at 17:03:25 UTC, Andre wrote:
I hoped there is some operator overloading for implicit
conversion of my
class to JSONValue.
I solved the issue with an toJSON method and a generic
functionality which
checks for this method.
Kind regards
André
Vibe.d has some serial
While writing a structs function that I wanted to minimize
allocations and use an internal preallocated buffer, but I
noticed that arrays are losing their capacity when its length is
changed.
For example:
void main() {
int[] a;
a.reserve = 1024;
void dump(in ref int[