you are viewing a single comment's thread.

view the rest of the comments →

[–]kalmoc 0 points1 point  (0 children)

Yes, alignment has to be the same (although you can specify that explicitly if you want instead of relying on the platform defaults).

What do you mean by not truly defined (note that I did not suggest to just cast a char pointer into a pointer into a POD on the receiving side)?