4 ms·
clang-tidy has a command to replace auto_ptr with unique_ptr[0]. I haven't used it in anger, though. [0] https://clang.llvm.org/extra/clang-tidy/checks/moderni
by tjalfi 7y ago
clang-tidy has a command to replace auto_ptr with unique_ptr[0]. I haven't used it in anger, though.
[0] https://clang.llvm.org/extra/clang-tidy/checks/modernize-replace-auto-ptr.html https://clang.llvm.org/extra/clang-tidy/checks/modernize-rep...