Size_of and constexpr

Trying to turn a T: Copy+Sized into a byte array gives me a baffling error -

I'm guessing that the array size needs to be known before specializing on T, but I'm not sure how to confirm that.

This is a well-known and long-standing problem. See this issue and its many, many closed duplicates.

1 Like

Ah. Thanks.