In my previous articles, Beyond new and delete: A Practical Guide to Refactoring Raw Pointers to Smart Pointers and Beyond new and delete: to Weak Pointer, I explained how to refactor raw pointers into unique_ptr, shared_ptr, weak_ptr, and references. But swapping pointer types is only half the battle. A successful refactoring also requires a systematic engineering process — one that combines owne
Beyond New and Delete: Engineering Approach with gsl::owner, std::span and clang-tidy
Rui-Tech·Dev.to··1 min read
D
Continue reading on Dev.to
This article was sourced from Dev.to's RSS feed. Visit the original for the complete story.