#include <string.hpp>
Definition at line 40 of file string.hpp.
◆ string() [1/6]
Definition at line 42 of file string.hpp.
The list class represents a linked list.
◆ string() [2/6]
◆ string() [3/6]
◆ string() [4/6]
string::string |
( |
char | c, |
|
|
int | n ) |
|
private |
Definition at line 61 of file string.cpp.
61 {
63 for (int i= 0; i < n; i++)
65}
◆ string() [5/6]
Definition at line 67 of file string.cpp.
67 {
70 for (i= 0; i < n; i++)
72}
◆ string() [6/6]
Definition at line 74 of file string.cpp.
74 {
75 int i;
77 for (i= 0; i < n; i++)
79}
◆ CONCRETE()
◆ operator[]()
char & string::operator[] |
( |
int | i | ) |
|
|
inlineprivate |
◆ operator==() [1/2]
Definition at line 86 of file string.cpp.
86 {
89 for (i= 0; i < n; i++) {
90 if (s[i] !=
S[i])
return false;
91 if (s[i] == '\0') return false;
92 }
93 return (s[i] == '\0');
94}
◆ operator!=() [1/2]
Definition at line 97 of file string.cpp.
97 {
100 for (i= 0; i < n; i++) {
101 if (s[i] !=
S[i])
return true;
102 if (s[i] == '\0') return true;
103 }
104 return (s[i] != '\0');
105}
◆ operator==() [2/2]
bool string::operator== |
( |
string | s | ) |
|
|
private |
◆ operator!=() [2/2]
bool string::operator!= |
( |
string | s | ) |
|
|
private |
◆ operator()()
string string::operator() |
( |
int | start, |
|
|
int | end ) |
|
private |
Definition at line 118 of file string.cpp.
118 {
120
121 int i;
128}
SI min(SI i, SI j)
Returns the minimum of two signed integers.
SI max(SI i, SI j)
Returns the maximum of two signed integers.
◆ begin()
◆ end()
◆ operator string_view< char >()
The documentation for this class was generated from the following files: