lsst.gauss2d gbf99507273+d801c9999e
Loading...
Searching...
No Matches
doctest::String Class Reference

Public Types

using size_type = DOCTEST_CONFIG_STRING_SIZE_TYPE

Public Member Functions

 String (const char *in)
 String (const char *in, size_type in_size)
 String (std::istream &in, size_type in_size)
 String (const String &other)
String & operator= (const String &other)
String & operator+= (const String &other)
 String (String &&other) noexcept
String & operator= (String &&other) noexcept
char operator[] (size_type i) const
char & operator[] (size_type i)
const char * c_str () const
char * c_str ()
size_type size () const
size_type capacity () const
String substr (size_type pos, size_type cnt=npos) &&
String substr (size_type pos, size_type cnt=npos) const &
size_type find (char ch, size_type pos=0) const
size_type rfind (char ch, size_type pos=npos) const
int compare (const char *other, bool no_case=false) const
int compare (const String &other, bool no_case=false) const

Static Public Attributes

static DOCTEST_CONSTEXPR size_type npos = static_cast<size_type>(-1)

Friends

DOCTEST_INTERFACE std::ostream & operator<< (std::ostream &s, const String &in)

The documentation for this class was generated from the following file: