#include <doctest.h>
|
struct | view |
| OCLINT avoid private static members. More...
|
|
|
static const unsigned | len = 24 |
|
static const unsigned | last = len - 1 |
| OCLINT avoid private static members. More...
|
|
Definition at line 447 of file doctest.h.
◆ String() [1/4]
doctest::String::String |
( |
| ) |
|
◆ ~String()
doctest::String::~String |
( |
| ) |
|
◆ String() [2/4]
doctest::String::String |
( |
const char * |
in | ) |
|
◆ String() [3/4]
doctest::String::String |
( |
const String & |
other | ) |
|
◆ String() [4/4]
doctest::String::String |
( |
String && |
other | ) |
|
◆ c_str() [1/2]
char* doctest::String::c_str |
( |
| ) |
|
|
inline |
Definition at line 491 of file doctest.h.
493 return reinterpret_cast<char*
>(
buf);
References data.
◆ c_str() [2/2]
const char* doctest::String::c_str |
( |
| ) |
const |
|
inline |
◆ capacity()
unsigned 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 |
◆ isOnStack()
bool doctest::String::isOnStack |
( |
| ) |
const |
|
inlineprivate |
Definition at line 465 of file doctest.h.
465 {
return (
buf[
last] & 128) == 0; }
static const unsigned last
OCLINT avoid private static members.
◆ operator+()
String doctest::String::operator+ |
( |
const String & |
other | ) |
const |
◆ operator+=()
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ operator[]() [1/2]
char& doctest::String::operator[] |
( |
unsigned |
i | ) |
|
◆ operator[]() [2/2]
char doctest::String::operator[] |
( |
unsigned |
i | ) |
const |
◆ setLast()
void doctest::String::setLast |
( |
unsigned |
in = last | ) |
|
|
private |
◆ setOnHeap()
void doctest::String::setOnHeap |
( |
| ) |
|
|
private |
◆ size()
unsigned doctest::String::size |
( |
| ) |
const |
◆ buf
char doctest::String::buf[len] |
◆ data
view doctest::String::data |
◆ last
const unsigned doctest::String::last = len - 1 |
|
staticprivate |
OCLINT avoid private static members.
Definition at line 450 of file doctest.h.
◆ len
const unsigned doctest::String::len = 24 |
|
staticprivate |
The documentation for this class was generated from the following file: