diff --git a/docs/source/CppUsage.md b/docs/source/CppUsage.md index e858e0a34d7bcc013468be2919c7f51c5e8cfed5..2922b4b2ea632a11068580937f9df05a8bb28cda 100644 --- a/docs/source/CppUsage.md +++ b/docs/source/CppUsage.md @@ -329,7 +329,7 @@ performs a swap operation on big endian machines), and also because the layout of things is generally not known to the user. For structs, layout is deterministic and guaranteed to be the same -accross platforms (scalars are aligned to their +across platforms (scalars are aligned to their own size, and structs themselves to their largest member), and you are allowed to access this memory directly by using `sizeof()` and `memcpy` on the pointer to a struct, or even an array of structs.