On Sunday, 1 April 2018 at 05:27:38 UTC, Uknown wrote:
[...]I knew I was missing something. Fixed it, thanks https://run.dlang.io/is/tZeZrP
Sorry for the spam, but I also managed to miss `immutable`, `const` and when T has mutable indirections
Final version that I'm sure covers all the cases: https://run.dlang.io/is/kGoU4X