#include <doctest.h>
|
struct | view |
| OCLINT avoid private static members. More...
|
|
Definition at line 587 of file doctest.h.
◆ size_type
◆ String() [1/6]
doctest::String::String |
( |
| ) |
|
|
noexcept |
◆ ~String()
doctest::String::~String |
( |
| ) |
|
◆ String() [2/6]
doctest::String::String |
( |
const char * | in | ) |
|
◆ String() [3/6]
doctest::String::String |
( |
const char * | in, |
|
|
size_type | in_size ) |
◆ String() [4/6]
◆ String() [5/6]
doctest::String::String |
( |
const String & | other | ) |
|
◆ String() [6/6]
doctest::String::String |
( |
String && | other | ) |
|
|
noexcept |
◆ allocate()
char * doctest::String::allocate |
( |
size_type | sz | ) |
|
|
private |
◆ c_str() [1/2]
char * doctest::String::c_str |
( |
| ) |
|
|
inline |
Definition at line 643 of file doctest.h.
643 {
645 return reinterpret_cast<char*
>(
buf);
646 }
648 }
bool isOnStack() const noexcept
◆ c_str() [2/2]
const char * doctest::String::c_str |
( |
| ) |
const |
|
inline |
◆ capacity()
size_type doctest::String::capacity |
( |
| ) |
const |
◆ compare() [1/2]
int doctest::String::compare |
( |
const char * | other, |
|
|
bool | no_case = false ) const |
◆ compare() [2/2]
int doctest::String::compare |
( |
const String & | other, |
|
|
bool | no_case = false ) const |
◆ copy()
void doctest::String::copy |
( |
const String & | other | ) |
|
|
private |
◆ find()
◆ isOnStack()
bool doctest::String::isOnStack |
( |
| ) |
const |
|
inlineprivatenoexcept |
Definition at line 611 of file doctest.h.
611{
return (
buf[
last] & 128) == 0; }
static DOCTEST_CONSTEXPR size_type last
OCLINT avoid private static members.
◆ operator+=()
String & doctest::String::operator+= |
( |
const String & | other | ) |
|
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ operator[]() [1/2]
char & doctest::String::operator[] |
( |
size_type | i | ) |
|
◆ operator[]() [2/2]
char doctest::String::operator[] |
( |
size_type | i | ) |
const |
◆ rfind()
◆ setLast()
◆ setOnHeap()
void doctest::String::setOnHeap |
( |
| ) |
|
|
privatenoexcept |
◆ setSize()
void doctest::String::setSize |
( |
size_type | sz | ) |
|
|
privatenoexcept |
◆ size()
◆ substr() [1/2]
◆ substr() [2/2]
◆ operator<<
◆ [union]
◆ buf
char doctest::String::buf[len] |
◆ data
view doctest::String::data |
◆ last
OCLINT avoid private static members.
Definition at line 594 of file doctest.h.
◆ len
◆ npos
The documentation for this class was generated from the following file: