Skip to content

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

Description

@SiberiaYaKing

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions