在这段代码中,我知道它可以与A类中的super(t)或B类中的无args构造函数一起工作。下面的代码使用B类中的无args构造函数。我知道如果你将无args构造函数从B类中去掉,代码就不能工作。我是编程新手,我想要理解的是B类中的no args构造函数有什么特别之处,为什么它必须存在才能让代码工作?特殊条件或规则是什么?public class
"the default constructor of "Library::Transaction“the be referenced - it is a deleted function 错误发生在定义函数的文件的第129行 这是我的头文件"classes.h“ https://pastebin.com/94BBGF4U
class Library {
vector<Book>Patron &am