Explore >> Select a destination


You are here

www.fluentcpp.com
| | dev.krzaq.cc
13.4 parsecs away

Travel
| |
| | www.bfilipek.com
11.9 parsecs away

Travel
| | What do you do when the code for a variable initialization is complicated? Do you move it to another method or write inside the current scope? In this blog post, I'd like to present a trick that allows computing a value for a variable, even a const variable, with a compact notation.
| | www.cppstories.com
12.6 parsecs away

Travel
| | What do you do when the code for a variable initialization is complicated? Do you move it to another method or write inside the current scope? In this blog post, I'd like to present a trick that allows computing a value for a variable, even a const variable, with a compact notation.
| | cppstories.com
21.8 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.