Skip to content

Latest commit

 

History

History
1 lines (1 loc) · 447 Bytes

15.38.md

File metadata and controls

1 lines (1 loc) · 447 Bytes

All three declarations are illegal. We cannot directly create object of BinaryQuery, AndQuery or OrQuery. All these class are used for implementation, and they are not part of the interface. User code cannot use them directly, because all members of these class are not public, including constructors. Meanwhile, there is not constructor for class BinaryQuery, AndQuery or OrQuery that takes a shared_ptr<Query_base> as parameter.