Issue 12686 - Struct invariant prevents NRVO

https://issues.dlang.org/show_bug.cgi?id=12686