Explore >> Select a destination


You are here

www.fluentcpp.com
| | blog.jakubholy.net
4.8 parsecs away

Travel
| | THIS IS ONLY A DRAFTContent: Craft | Why lean? | Code quality
| | cppstories.com
4.9 parsecs away

Travel
| | The C++ Standard Library: A Tutorial and Reference (2nd Edition) by Nicolai M. Josuttis We are still waiting for some more books about new C++ standard. Fortunately for us, some authors managed to write books even before C++11 is well "domesticated". One of such examples is the book mentioned in the title of this post.
| | www.cppstories.com
4.6 parsecs away

Travel
| | In C++11, we got a handy way to initialize various containers. Rather than using push_back() or insert() several times, you can leverage a single constructor by taking an initializer list. For example, with a vector of strings, you can write: std::vector vec { "abc", "xyz", "***" }; We can also write expressions like: for (auto x : {1, 2, 3}) cout << x << ", "; The above code samples use std::initializer_list and (some compiler support) to hold the values and pass them around. Let's understa......
| | verdagon.dev
31.3 parsecs away

Travel
|