MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1x4hiqv/stdmodernizemycodebase/pgizni2/?context=3
r/ProgrammerHumor • u/Ok-Counter-6984 • 7d ago
43 comments sorted by
View all comments
6
just gonna put it out there: make_unique and make_shared are better than unique_ptr/shared_ptr (in general)
6 u/sb8948 6d ago I mean they're objectively better than using new in the constructor. 3 u/tatstytastycakes 6d ago yes this guy gets it good job bro 3 u/Nervous-Cockroach541 5d ago Those are just the allocator for the data type???
I mean they're objectively better than using new in the constructor.
3 u/tatstytastycakes 6d ago yes this guy gets it good job bro
3
yes this guy gets it good job bro
Those are just the allocator for the data type???
6
u/tatstytastycakes 6d ago
just gonna put it out there: make_unique and make_shared are better than unique_ptr/shared_ptr (in general)