Every time I want to pass a shared pointer to a function, it makes sense to pass it by reference. Is there any reason not to? #programming
To that shared pointer and it's all good. But the extra add ref and remove ref seems unnecessary.
Voit lisätä twiitteihisi sijainnin, esimerkiksi kaupungin tai tarkemman paikan, verkosta ja kolmannen osapuolen sovellusten kautta. Halutessasi voit poistaa twiittisi sijaintihistorian myöhemmin. Lue lisää
To that shared pointer and it's all good. But the extra add ref and remove ref seems unnecessary.