• qaz
    link
    fedilink
    English
    6
    edit-2
    8 days ago

    I just use unique_ptr 99% of the time

    • @Gladaed@feddit.org
      link
      fedilink
      48 days ago

      And you should.

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