diff options
author | Scott Stone <tafoid@gmail.com> | 2016-11-24 09:24:01 -0500 |
---|---|---|
committer | Scott Stone <tafoid@gmail.com> | 2016-11-24 09:24:01 -0500 |
commit | 30cda1d3e5b9195fbd1f23a3af4480666c750a34 (patch) | |
tree | 82f7b4b6bb3c61335c495d0925b393b212f6f3f0 /src/lib/util | |
parent | 7746690ddf1b6b806de046ec54fee954f09e182e (diff) |
A round of spelling/typographical fixes to source comments (nw)
Diffstat (limited to 'src/lib/util')
-rw-r--r-- | src/lib/util/aviio.cpp | 2 | ||||
-rw-r--r-- | src/lib/util/coretmpl.h | 2 | ||||
-rw-r--r-- | src/lib/util/delegate.h | 2 | ||||
-rw-r--r-- | src/lib/util/strformat.h | 10 |
4 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/util/aviio.cpp b/src/lib/util/aviio.cpp index 6efae25a654..4a493c2b89b 100644 --- a/src/lib/util/aviio.cpp +++ b/src/lib/util/aviio.cpp @@ -2867,7 +2867,7 @@ avi_file::error avi_file_impl::chunk_overwrite(std::uint32_t type, const void *d /*------------------------------------------------- - write_initial_headers - write out the inital + write_initial_headers - write out the initial set of AVI and stream headers -------------------------------------------------*/ diff --git a/src/lib/util/coretmpl.h b/src/lib/util/coretmpl.h index 5c29d97f89f..758e4821aa3 100644 --- a/src/lib/util/coretmpl.h +++ b/src/lib/util/coretmpl.h @@ -237,7 +237,7 @@ public: return object; } - // deatch the entire list, returning the head, but don't free memory + // detach the entire list, returning the head, but don't free memory _ElementType *detach_all() noexcept { _ElementType *result = m_head; diff --git a/src/lib/util/delegate.h b/src/lib/util/delegate.h index d387db2dfcb..698632888cd 100644 --- a/src/lib/util/delegate.h +++ b/src/lib/util/delegate.h @@ -196,7 +196,7 @@ struct delegate_traits // delegate_mfp is a class that wraps a generic member function pointer // in a static buffer, and can effectively recast itself back for later use; -// it hides some of the gross details involved in copying artibtrary member +// it hides some of the gross details involved in copying arbitrary member // function pointers around class delegate_mfp { diff --git a/src/lib/util/strformat.h b/src/lib/util/strformat.h index abb34e80d3f..db3666e448b 100644 --- a/src/lib/util/strformat.h +++ b/src/lib/util/strformat.h @@ -13,7 +13,7 @@ object with an appropriate stream output operator can be used as a format argument with the %s conversion. - Since the funcitons are implemented using C++ iostream, some + Since the functions are implemented using C++ iostream, some behaviour more closely resembles iostream output operator behaviour than printf behaviour. You are also exposed to bugs in your C++ iostream implementation (e.g. hexadecimal scientific format doesn't @@ -28,7 +28,7 @@ Position specifiers for arguments (%123$), field width (*456$) and precision (.*789$) are supported. Mixing explicit and implied - positions for arugments/widths/precisions is discouraged, although + positions for arguments/widths/precisions is discouraged, although it does produce deterministic behaviour. The following format flags are recognised: @@ -79,13 +79,13 @@ - d/i: signed decimal for integer/char/bool types - u: unsigned decimal for integer/char/bool types - o: unsigned octal for integer/char/bool types - - x/X: lower/upppercase unsigned hexadecimal for integer/char/bool + - x/X: lower/uppercase unsigned hexadecimal for integer/char/bool types or scientific hexadecimal for floating-point types - e/E: lower/uppercase scientific decimal for floating-point types - f/F: lower/uppercase fixed-point decimal for floating-point types - g/G: default stream output format for floating-point types (may differ from printf behaviour) - - a/A: lower/upppercase scientific hexadecimal for floating-point + - a/A: lower/uppercase scientific hexadecimal for floating-point types or hexadecimal for integer types - c/C: cast integer types to stream's character type, no automatic widening or narrowing @@ -139,7 +139,7 @@ versa. - Precision ignored for d/i/u/o/x/X conversions (should set minimum digits to print). - - Precisoin for s/S conversion is only honoured for string-like + - Precision for s/S conversion is only honoured for string-like types (output character pointer/array and std::basic_string). - If the output character type is not char, signed char or unsgined char, printing the a value of this type with d/i/u/o/x/X |