Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

练习15.34的答案是不是有些问题? #88

Open
SiberiaYaKing opened this issue Jul 3, 2019 · 0 comments
Open

练习15.34的答案是不是有些问题? #88

SiberiaYaKing opened this issue Jul 3, 2019 · 0 comments

Comments

@SiberiaYaKing
Copy link

SiberiaYaKing commented Jul 3, 2019

1.Query::Query(const std::string& s) where s == "fiery","bird" and "wind"
2.WordQuery::WordQuery(const std::string& s) where s == "fiery","bird" and "wind"
3.AndQuery::AndQuery(const Query& left, const Query& right);
4.BinaryQuery(const Query&l, const Query& r, std::string s);
5.Query::Query(std::shared_ptr<Query_base> query) 2times
6.OrQuery::OrQuery(const Query& left, const Query& right);
7.BinaryQuery(const Query&l, const Query& r, std::string s);
8.Query::Query(std::shared_ptr<Query_base> query) 2times

原答案如上 ,其中第5行与第8行不应该是2times把,后面15.39的答案都只输出了一次Query::Query(std::shared_ptr<Query_base> query)
@pezy @Mooophy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant