You are here |
cppstories.com | ||
| | | |
www.bfilipek.com
|
|
| | | | 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. Lets see how can we implement such thing. | |
| | | |
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. | |
| | | |
www.cppstories.com
|
|
| | | | After watching some of the talks from Build 2014 - especially "Modern C++: What You Need to Know" and some talks from Eric Brumer I started thinking about writing my own test case. Basically I've created simple code that compares vector vs vector> The first results are quite interesting so I thought it is worth to describe this on the blog. | |
| | | |
dissidentvoice.org
|
|
| | As an intended outcome of neoliberal doctrine and a natural stage of capitalist development, global financialization constructs a borderless nexus of power in which debt and austerity fuels a cultural, political and economic landscape bound to enduring structures of domination, and creates unprecedented wealth through the accumulation of suffering. ***** According to economist Richard Wolff, |