You are here |
www.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.bfilipek.com
|
|
| | | | Variadic Templates from C++11 is probably not a feature that you use on a daily basis. But recently, I've come across one refactoring example where I've decided to give a try and apply variadics. Intro When I was doing some work in some old UI code I've noticed several similar lines of code that looked like that: | |
| | | |
blog.knatten.org
|
|
| | | | I was talking about C++ with a Java programmer the other day, as he had to work on a bit of C++ code. I discovered that it isn't necessarily obvious that all the elements in an array are constructed when the array is initialized. That is however always the case. For arrays of built-in types,... | |
| | | |
www.bfilipek.com
|
|
| | Three weeks ago with Jonathan from Fluent C++, we announced a coding challenge: link here. Let's meet the winner and discuss some of the best solutions (Our choice is quite surprising! See why :)) First of all, I'd like to thank you all for the submissions to the challenge. The task was ambitious! |