Definition in file basic_string.h.
Go to the source code of this file.
|
Read a line from stream into a string.
' is found, the end of the stream is encountered, or str.max_size() is reached. If is.width() is non-zero, that is the limit on the number of characters stored into str. Any previous contents of str are erased. If end of line was encountered, it is extracted but not stored into str. Definition at line 1256 of file istream.tcc. References std::getline(). |
|
Read a line from stream into a string.
Definition at line 1196 of file istream.tcc. References ios_base::badbit, ios_base::eofbit, basic_string::erase(), ios_base::failbit, ios_base::goodbit, and basic_string::max_size(). Referenced by std::getline(). |
|
Test difference of string and C string.
Definition at line 2189 of file basic_string.h. |
|
Test difference of C string and string.
Definition at line 2177 of file basic_string.h. References basic_string::compare(). |
|
Test difference of two strings.
Definition at line 2165 of file basic_string.h. References basic_string::compare(). |
|
Concatenate string and character.
Definition at line 2110 of file basic_string.h. |
|
Concatenate string and C string.
Definition at line 2094 of file basic_string.h. References basic_string::append(). |
|
Concatenate character and string.
Definition at line 681 of file basic_string.tcc. References basic_string::size(). |
|
Concatenate C string and string.
Definition at line 665 of file basic_string.tcc. References basic_string::size(). |
|
Concatenate two strings.
Definition at line 2057 of file basic_string.h. References basic_string::append(). |
|
Test if C string precedes string.
Definition at line 2226 of file basic_string.h. References basic_string::compare(). |
|
Test if string precedes C string.
Definition at line 2214 of file basic_string.h. |
|
Test if string precedes string.
Definition at line 2202 of file basic_string.h. |
|
Write string to a stream.
Definition at line 648 of file ostream.tcc. |
|
Test if C string doesn't follow string.
Definition at line 2300 of file basic_string.h. References basic_string::compare(). |
|
Test if string doesn't follow C string.
Definition at line 2288 of file basic_string.h. |
|
Test if string doesn't follow string.
Definition at line 2276 of file basic_string.h. |
|
Test equivalence of string and C string.
Definition at line 2152 of file basic_string.h. |
|
Test equivalence of C string and string.
Definition at line 2140 of file basic_string.h. References basic_string::compare(). |
|
Test equivalence of two strings.
Definition at line 2128 of file basic_string.h. |
|
Test if C string follows string.
Definition at line 2263 of file basic_string.h. References basic_string::compare(). |
|
Test if string follows C string.
Definition at line 2251 of file basic_string.h. |
|
Test if string follows string.
Definition at line 2239 of file basic_string.h. |
|
Test if C string doesn't precede string.
Definition at line 2337 of file basic_string.h. References basic_string::compare(). |
|
Test if string doesn't precede C string.
Definition at line 2325 of file basic_string.h. |
|
Test if string doesn't precede string.
Definition at line 2313 of file basic_string.h. |
|
Read stream into a string.
Definition at line 1130 of file istream.tcc. References basic_string::append(), ios_base::badbit, ios_base::eofbit, basic_string::erase(), ios_base::failbit, ios_base::goodbit, and basic_string::max_size(). |
|
Swap contents of two strings.
Definition at line 2350 of file basic_string.h. Referenced by vector< _Node *, _Nodeptr_Alloc >::swap(), list::swap(), deque::swap(), and std::tr1::swap(). |