/* Note: this is hypothetical syntax */ tail_const(Wrapper!T) x;gets translated to: Wrapper!(const(T)) x;
Please note that an important reason for using const is multi-threading where you may want to accept multiple readers and one writer. So IMO non-const parts of an object should stay on a different cache lines from the const parts…
