Explore >> Select a destination


You are here

www.cppstories.com
| | henko.net
4.5 parsecs away

Travel
| | A selection of functional programming concepts that I feel are helpful to all developers.
| | cppstories.com
1.5 parsecs away

Travel
| | 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.bfilipek.com
1.2 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
37.4 parsecs away

Travel
| From dynamic container operations to compile-time constants, C++ offers a variety of techniques (as in this famous Meme :)). In this article, we'll delve into advanced initialization methods likereserve() and emplace_backfor containers to tuples with piecewise_construct and forward_as_tuple. Thanks to those techniques, we can reduce the number of temporary objects and create variables more efficiently.