File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -403,14 +403,18 @@ static inline T* empty_if_null(T* p)
403403}
404404
405405/* *
406- * Split string by given sperator .
406+ * Split string by given separator .
407407 * @param str The string to split
408- * @param sep The seperator
409- * @return The list of seperate strings (including empty ones). The whole input string if no seperator found.
408+ * @param sep The separator
409+ * @return The list of separate strings (including empty ones). The whole input string if no separator found.
410410 */
411411CPPCHECKLIB std::vector<std::string> splitString (const std::string& str, char sep);
412412
413413namespace utils {
414+ /* *
415+ * Drop-in replacement for C++17's std::as_const
416+ * @param t The function forms the lvalue reference to const type of this argument.
417+ */
414418 template <class T >
415419 constexpr typename std::add_const<T>::type & as_const (T& t) noexcept
416420 {
You can’t perform that action at this time.
0 commit comments