 
      
    | You are here | www.cppstories.com | ||
| | | | | 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: | |
| | | | | studiofreya.org | |
| | | | | ||
| | | | | cppstories.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. Let's see how can we implement such thing. | |
| | | | | stefansf.de | |
| | | Non-termination essentially invokes undefined behavior under certain conditions in C as well as C++ which we explore in this article. | ||