cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
blatant missing entry for std::string::o
blatant missing entry for std::string::operator==, please fix
Nov 24, 2015 at 9:31am UTC
xuancong84
(4)
On
http://www.cplusplus.com/,
somehow, I could not find the documentation entry for std::string::operator ==, which is obviously present.
And the operator at least support both "string" and "const char*" as the RHS.
Nov 24, 2015 at 9:42am UTC
Peter87
(11238)
These operators are not member functions. If you go to the bottom of the string page you find a link that says "relational operators".
http://www.cplusplus.com/reference/string/string/operators/
Nov 24, 2015 at 9:44am UTC
Gaminic
(1621)
Aren't all the comparison operators just wrapped versions of the string::compare() function?
Topic archived. No new replies allowed.