|
You are here |
dev.krzaq.cc | ||
| | | | |
eli.thegreenplace.net
|
|
| | | | | [AI summary] This article explains the C++11 variadic template feature, which replaces the unsafe and cumbersome C-style variadic functions with a compile-time safe and flexible system. | |
| | | | |
www.cppstories.com
|
|
| | | | | Let's say we have the following code: LegacyList* pMyList = new LegacyList(); ... pMyList->ReleaseElements(); delete pMyList; In order to fully delete an object we need to do some additional action. How to make it more C++11? How to use unique_ptr or shared_ptr here? Intro We all know that smart pointers are really nice things and we should be using them instead of raw new and delete. | |
| | | | |
cppstories.com
|
|
| | | | | Let's say we have the following code: LegacyList* pMyList = new LegacyList(); ... pMyList->ReleaseElements(); delete pMyList; In order to fully delete an object we need to do some additional action. How to make it more C++11? How to use unique_ptr or shared_ptr here? Intro We all know that smart pointers are really nice things and we should be using them instead of raw new and delete. | |
| | | | |
spacedimp.com
|
|
| | | [AI summary] A beginner-friendly guide to overcoming the learning curve of Rust programming by exploring ownership, borrowing, and lifetimes. | ||