Change startsWith(char) to take StringRef as argument
This commit is contained in:
12 files changed
+80
-10
No files matched your search
@@ -17,7 +17,7 @@
|
||||
namespace Catch {
|
||||
|
||||
bool startsWith( std::string const& s, std::string const& prefix );
|
||||
bool startsWith( std::string const& s, char prefix );
|
||||
bool startsWith( StringRef s, char prefix );
|
||||
bool endsWith( std::string const& s, std::string const& suffix );
|
||||
bool endsWith( std::string const& s, char suffix );
|
||||
bool contains( std::string const& s, std::string const& infix );
|
||||
|
||||
Reference in new issue
Block a user