r/ProgrammerHumor • • Oct 12 '26

Meme stdModernizeMyCodebase

Post image
190 Upvotes

44 comments sorted by

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