[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] [lmi-commits] Make string begins_with(), ends_with() functions
From: |
Greg Chicares |
Subject: |
Re: [lmi] [lmi-commits] Make string begins_with(), ends_with() functions generally available |
Date: |
Tue, 31 May 2016 23:08:25 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.8.0 |
On 2016-05-31 21:22, Vadim Zeitlin wrote:
> On Tue, 31 May 2016 21:06:22 +0000 (UTC) Greg Chicares <address@hidden> wrote:
>
> GC> branch: master
> GC> commit cf7ed5f9bbe62c3482668346b080472552ab0de6
[...]
> GC> +/// Ascertain whether string begins ends with suffix.
> GC> +
> GC> +bool LMI_SO ends_with(std::string const& s, std::string const& suffix);
>
> Minor, but there is an extra "begins " in the comment above.
Thanks, fixed a moment ago:
commit 0a4d9f9039d4b20ca916f4b90f4ce1ee9519ad99
Author: Gregory W. Chicares <address@hidden>
Date: Tue May 31 23:05:46 2016 +0000
Fix defect introduced 20160531T1457: stray, incorrect word in comment
diff --git a/miscellany.hpp b/miscellany.hpp
index 627373e..6e5beeb 100644
--- a/miscellany.hpp
+++ b/miscellany.hpp
@@ -100,7 +100,7 @@ std::string htmlize(std::string const&);
bool LMI_SO begins_with(std::string const& s, std::string const& prefix);
-/// Ascertain whether string begins ends with suffix.
+/// Ascertain whether string ends with suffix.
bool LMI_SO ends_with(std::string const& s, std::string const& suffix);