File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -459,7 +459,7 @@ namespace pcs // i.e. "pythonic c++ strings"
459459 // --- contains() --------------------------------------
460460 /* * \brief Returns true if this string contains the passed string, or false otherwise.
461461 *
462- * This is the c++ implementation of Python keyword 'in' applied to strings.
462+ * This is a c++ implementation of Python keyword 'in' applied to strings.
463463 */
464464 constexpr bool contains (const CppStringT& substr) const noexcept
465465 {
@@ -516,7 +516,10 @@ namespace pcs // i.e. "pythonic c++ strings"
516516
517517
518518 // --- contains_n() ------------------------------------
519- /* * Returns true if the passed string is found within the slice str[start:start+count-1], or false otherwise. */
519+ /* * Returns true if the passed string is found within the slice str[start:start+count-1], or false otherwise.
520+ *
521+ * This is a c++ implementation of Python keyword 'in' applied to Python sliced strings.
522+ */
520523 inline constexpr bool contains_n (const CppStringT& sub, const size_type start, const size_type count = -1 ) const noexcept
521524 {
522525 try {
You can’t perform that action at this time.
0 commit comments