How to have alias this with an unaccessible member (x below). Making the member private won't work as it'll disable all operations on said member.
---- struct A(T){ T x; //private T x would prevent alias this from doing anything useful alias x this; } void main(){ auto a=A!int; a++;//should do a.x++; static assert(!__traits(compiles,a.x)); // I want this to hold } ----