John Colvin

Results 52 comments of John Colvin

Hmm. As soon as wrote this I doubted myself. The two things that get in the way are reallocation and deallocation. The former is clearly not allowed on an immutable...

@andralex template instantiation is pure, so you can compare the template args for equality instead (recursively if necessary, as a template arg could be a template). Use `std.traits.TemplateArgsOf` or some...

@UplinkCoder I assume you mean https://dlang.org/spec/traits.html#isSame

that works fine, it gets `/usr/include/stdlib.h` it's just that clang can't seem to handle the header it finds.

Hmm. This may be to do with incompatibilities between libclang and the system headers, because the system headers belong to an entirely different toolchain (still clang in this case, but...

Excellent, this is looking very promising.

I worked on that a while ago. I will try to resurrect next week, or at least point you to what I started Regards, John Colvin On Fri, 18 Oct...

I see that serialisationdeserialisation symmetry is a good property, but it's a bit of a pain when I don't actually ever need to do that round trip. I receive Json...

at the very least it would be useful to have a flag I could pass to the serialisation code to say "please serialize everything"

Things that should be tested: * You can see the d compiler output when compilation fails (ideally even in infinite loop - e.g. ctfe loop forever - case, could be...