smart pointers solve a different problem than data races
That's my point. C++ doesn't have an equivalent of rust's protections around Send and Sync.
That's my point. C++ doesn't have an equivalent of rust's protections around Send and Sync.