mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 23:36:11 +01:00
include StringRef, rather than fwd decl, for splitString
This commit is contained in:
parent
daeb5a87e6
commit
08c8df1e3b
@ -7,13 +7,13 @@
|
|||||||
#ifndef TWOBLUECUBES_CATCH_STRING_MANIP_H_INCLUDED
|
#ifndef TWOBLUECUBES_CATCH_STRING_MANIP_H_INCLUDED
|
||||||
#define TWOBLUECUBES_CATCH_STRING_MANIP_H_INCLUDED
|
#define TWOBLUECUBES_CATCH_STRING_MANIP_H_INCLUDED
|
||||||
|
|
||||||
|
#include "catch_stringref.h"
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <iosfwd>
|
#include <iosfwd>
|
||||||
|
|
||||||
namespace Catch {
|
namespace Catch {
|
||||||
|
|
||||||
class StringRef;
|
|
||||||
|
|
||||||
bool startsWith( std::string const& s, std::string const& prefix );
|
bool startsWith( std::string const& s, std::string const& prefix );
|
||||||
bool startsWith( std::string const& s, char prefix );
|
bool startsWith( std::string const& s, char prefix );
|
||||||
bool endsWith( std::string const& s, std::string const& suffix );
|
bool endsWith( std::string const& s, std::string const& suffix );
|
||||||
|
Loading…
Reference in New Issue
Block a user