You are here |
cppstories.com | ||
| | | |
www.cppstories.com
|
|
| | | | 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. | |
| | | |
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: | |
| | | |
www.bfilipek.com
|
|
| | | | 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. | |
| | | |
cor3ntin.github.io
|
|
| |