5 ms·
Assuming you use smart pointers, you'll want overloading for pointer operators as well, even if you're not implementing the smart pointers yourself.
by humanrebar 13y ago
Assuming you use smart pointers, you'll want overloading for pointer operators as well, even if you're not implementing the smart pointers yourself.
- Arelius 13y agoI'm not however sure that applies to Rust. And frankly I care a lot less about the pointer operators for smart pointers. Any old accessor is decent, and I find the overloaded pointer operators sometimes confusing. At the very least it's not quite as obvious as it is for math operators.