MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1x4hiqv/stdmodernizemycodebase/pguu9lh/?context=3
r/ProgrammerHumor • u/Ok-Counter-6984 • Oct 12 '26
44 comments sorted by
View all comments
Show parent comment
1
I love refcounted pointers (esp when using COM) but for some win32 API stuff you sometimes need to do pointer arithmetic in blobs of data. There it's easier to use raw pointers while allowing the overal blob to be managed through a smart pointer
View all comments
Show parent comment
1
u/ih-shah-may-ehl Oct 15 '26
I love refcounted pointers (esp when using COM) but for some win32 API stuff you sometimes need to do pointer arithmetic in blobs of data. There it's easier to use raw pointers while allowing the overal blob to be managed through a smart pointer