It’s important for objects that can be dereferenced. Smart pointers have methods that can be accessed with dot syntax like swap()
. You can still dereference through a smart pointer using arrow syntax to access methods on the referenced type since they overload the operator->()
method.
And then there’s shit like this: https://www.amazon.co.uk/Standard-Computer-Quieter2-Quieter2Q-Quieter2D-Black/dp/B099RXXDYT