Skip to content

Commit 7f579d3

Browse files
committed
Fix typos in BasicString documentation
1 parent 214f156 commit 7f579d3

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

fly/types/string/detail/string_classifier.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ class BasicStringClassifier
9393
* Converts the given character to an upper-case alphabetic character as classified by the
9494
* default C locale.
9595
*
96-
* The STL's std:tosupper and std::towupper require that the provided character fits into an
96+
* The STL's std:toupper and std::towupper require that the provided character fits into an
9797
* unsigned char and unsigned wchar_t, respectively. Other values result in undefined behavior.
9898
* This method has no such restriction.
9999
*
@@ -107,7 +107,7 @@ class BasicStringClassifier
107107
* Converts the given character to a lower-case alphabetic character as classified by the
108108
* default C locale.
109109
*
110-
* The STL's std:toslower and std::towlower require that the provided character fits into an
110+
* The STL's std:tolower and std::towlower require that the provided character fits into an
111111
* unsigned char and unsigned wchar_t, respectively. Other values result in undefined behavior.
112112
* This method has no such restriction.
113113
*

fly/types/string/string.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ class BasicString
125125
* Converts the given character to an upper-case alphabetic character as classified by the
126126
* default C locale.
127127
*
128-
* The STL's std:tosupper and std::towupper require that the provided character fits into an
128+
* The STL's std:toupper and std::towupper require that the provided character fits into an
129129
* unsigned char and unsigned wchar_t, respectively. Other values result in undefined behavior.
130130
* This method has no such restriction.
131131
*
@@ -139,7 +139,7 @@ class BasicString
139139
* Converts the given character to a lower-case alphabetic character as classified by the
140140
* default C locale.
141141
*
142-
* The STL's std:toslower and std::towlower require that the provided character fits into an
142+
* The STL's std:tolower and std::towlower require that the provided character fits into an
143143
* unsigned char and unsigned wchar_t, respectively. Other values result in undefined behavior.
144144
* This method has no such restriction.
145145
*
@@ -495,7 +495,7 @@ class BasicString
495495
//==================================================================================================
496496
template <typename StringType>
497497
template <typename T, enable_if<detail::is_like_supported_string<T>>>
498-
constexpr auto BasicString<StringType>::size(T &&value) -> size_type
498+
constexpr inline auto BasicString<StringType>::size(T &&value) -> size_type
499499
{
500500
return classifier::size(std::forward<T>(value));
501501
}

0 commit comments

Comments
 (0)