337
you are viewing a single comment's thread
view the rest of the comments
[-] qaz@lemmy.world 6 points 6 days ago* (last edited 5 days ago)

I just use unique_ptr 99% of the time

[-] Gladaed@feddit.org 4 points 5 days ago

And you should.

It even works for classes whose constructors your implementation cannot see, if you aren't a bitch about it.

this post was submitted on 29 Dec 2024
337 points (98.8% liked)

Programmer Humor

19817 readers
262 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS