|
You are here |
www.bfilipek.com | ||
| | | | |
shafik.github.io
|
|
| | | | | C++ initialization, arrays and lambdas oh my! | |
| | | | |
www.cppstories.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. | |
| | | | |
cppstories.com
|
|
| | | | | Recently, I've found somethinginterestingin Visual Studio that improved my Logger! I had a function called AddMsg /** appends message to the log file */ void AddMsg(LOG_MODE m, int level, char* strModule, char *strMsg, ...); But, when you wanted to add a comment you needed to use quite complicated and long syntnax, like: | |
| | | | |
www.fluentcpp.com
|
|
| | | Variadic templates allow any number of template parameters of any type. In this article we see how to do a variadic number of parameters of the SAME type. | ||