• lysdexic@programming.dev
    hexagon
    M
    ·
    edit-2
    11 个月前

    Smart pointers were introduced over a decade ago, and since their introduction there were already four updates to the C++ standard. There is really no excuse to shy away from smart pointers at this point. I really recommend you get up to speed on them.