tuple’s size — why sizeof(tp2) == 32 instead of 28?
why sizeof(tp2) I get 32 instead of 28, int(4) + int(4) + float(4) + complex(16) == 28,but this code get 32
std::tuple missing default constructor when using an inner struct
The following code compiles fine on msvc and clang 17+ but does not on compile on gcc 14 or clang <= 16. However, it compiles as soon as I move the inner struct out to global scope.