Minimal code reproducible code:
struct Struct { int value; int* a; }; template void Print(T value) { int size = sizeof(value);