From d1865063adbc6c87d0825c382a973abebd287dd1 Mon Sep 17 00:00:00 2001
From: Ben Wiederhake
What is gained by using the buffer types rather than always just using the arithmetic types?
-Assurance than hidden conversions are not performed. This is of overriding +
Assurance that hidden conversions are not performed. This is of overriding importance to users concerned about achieving the ultimate in terms of speed.
"Always just using the arithmetic types" is fine for other users. When the ultimate in speed needs to be ensured, the arithmetic types can be used in the diff --git a/include/boost/endian/conversion.hpp b/include/boost/endian/conversion.hpp index 7c145d9..201558f 100644 --- a/include/boost/endian/conversion.hpp +++ b/include/boost/endian/conversion.hpp @@ -50,7 +50,7 @@ namespace endian //--------------------------------------------------------------------------------------// // customization for exact-length arithmetic types. See doc/conversion.html/#FAQ. - // Note: The omission of an overloads for the arithmetic type (typically long, or + // Note: The omission of a overloads for the arithmetic type (typically long, or // long long) not assigned to one of the exact length typedefs is a deliberate // design decision. Such overloads would be non-portable and thus error prone.