#include <string.hpp>
Definition at line 62 of file string.hpp.
◆ string() [1/6]
Definition at line 64 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 99 of file string.cpp.
99 {
101 for (int i= 0; i < n; i++)
103}
◆ string() [5/6]
Definition at line 105 of file string.cpp.
105 {
108 for (i= 0; i < n; i++)
110}
◆ string() [6/6]
Definition at line 112 of file string.cpp.
112 {
113 int i;
115 for (i= 0; i < n; i++)
117}
◆ CONCRETE()
◆ operator[]()
char & string::operator[] |
( |
int | i | ) |
|
|
inlineprivate |
◆ operator==() [1/2]
Definition at line 124 of file string.cpp.
124 {
127 for (i= 0; i < n; i++) {
128 if (s[i] !=
S[i])
return false;
129 if (s[i] == '\0') return false;
130 }
131 return (s[i] == '\0');
132}
◆ operator!=() [1/2]
Definition at line 135 of file string.cpp.
135 {
138 for (i= 0; i < n; i++) {
139 if (s[i] !=
S[i])
return true;
140 if (s[i] == '\0') return true;
141 }
142 return (s[i] != '\0');
143}
◆ 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 156 of file string.cpp.
156 {
158
159 int i;
166}
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: