We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
hello,I wrote a test case,but the result is different from yours.can you list one example for the answer of Ex10.5.
my test case:
#include <vector> #include <string> #include <algorithm> #include <iostream> using std::cout; using std::endl; using std::vector; using std::string; using std::boolalpha; int main() { string s1 = "ok"; string s2 = "test"; const char *c1 = "ok"; const char *c2 = "test"; vector<string> vs{s1, s2}; vector<string> vs2{s1, s2}; vector<const char *> vc{c1, c2}; vector<const char *> vc2{c1, c2}; cout << boolalpha << equal(vs.cbegin(), vs.cend(), vs2.cbegin()) << endl; cout << boolalpha << equal(vc.cbegin(), vc.cend(), vc2.cbegin()) << endl; return 0; }
and the result is
true true
The text was updated successfully, but these errors were encountered:
Hi @zhuanggengzhen Please check #227 for detail.
Sorry, something went wrong.
THX,admire the solver
No branches or pull requests
hello,I wrote a test case,but the result is different from yours.can you list one example for the answer of Ex10.5.
my test case:
and the result is
The text was updated successfully, but these errors were encountered: