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 • Oct 12 '26
44 comments sorted by
View all comments
5
just gonna put it out there: make_unique and make_shared are better than unique_ptr/shared_ptr (in general)
6 u/sb8948 Oct 13 '26 I mean they're objectively better than using new in the constructor. 3 u/tatstytastycakes Oct 14 '26 yes this guy gets it good job bro 3 u/[deleted] Oct 14 '26 Those are just the allocator for the data type???
6
I mean they're objectively better than using new in the constructor.
3 u/tatstytastycakes Oct 14 '26 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???
View all comments
5
u/tatstytastycakes Oct 13 '26
just gonna put it out there: make_unique and make_shared are better than unique_ptr/shared_ptr (in general)