更新时间:2023-11-10 13:45:16
After an hour of playing with this question I figured out model is pointer to DataModel and my operator << takes only references.
model
<<
重载<<操作符错误C2804:二进制'运算符<<参数太多
如何重载操作符<<为qDebug
如何重载运算符<用于对象的排序方法?
重载操作符<<为模板类
c++ - 友元函数运算符重载参数表中如何写多个参数一起进行操作
如何在不修改操作数的情况下使用操作符重载链?