From 462ce03ebe1b7133d65ed68920fe784c61731d98 Mon Sep 17 00:00:00 2001 From: Li-Deng <18200296335@163.com> Date: Tue, 23 Jan 2018 01:08:13 +0800 Subject: [PATCH] Fix the spell mistake (#4599) --- docs/source/CppUsage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/CppUsage.md b/docs/source/CppUsage.md index e858e0a34..2922b4b2e 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.