|
|
|
|
|
by softirq
872 days ago
|
|
I disagree, consider a generic that is constrained by std::ops::Add. If you want to write generic functions with this type, you have to contend with types that might do simple addition or do allocations with potential side effects. |
|