Explore >> Select a destination


You are here

www.cppstories.com
| | meetingcpp.com
14.5 parsecs away

Travel
| |
| | cppstories.com
4.0 parsecs away

Travel
| | Some time ago I covered how to use custom deleters with smart pointers. The basic idea is to specify a dedicated method that will be called when a pointer is released. One logical application of custom deleters might be resource handles like files or the WinApi HANDLE type. Let's see how can we implement such thing.
| | cppstories.com
0.6 parsecs away

Travel
| | 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.
| | www.cppstories.com
34.2 parsecs away

Travel
| Mister C was a cool guy. C could make amazing things with just ordinary text files. He used to grab bunch of them and produce magic binary forms. He could make aspinningcube, web server, or even an operating system. One time he was running through a plain header file.