On 3/27/22 12:27 PM, JN wrote: > int* getX(T)(T t) > { > return &t.x; > } Remove this one. It's a bad idea. It probably won't compile, but if it does, you will be using corrupted memory. -Steve