Explore >> Select a destination


You are here

developernote.com
| | blog.eldruin.com
3.6 parsecs away

Travel
| | Example of inter-process comunication in C++ using STL-like streams.
| | danlark.org
5.0 parsecs away

Travel
| | Today we are going to talk about C++ basic std::pair class in a way how and why it is broken. Story std::pair first appeared in C++98 as a pretty basic class with a very simple semantics -- you have two types T1 and T2, you can write std::pair and access .first and .second members...
| | www.cppstories.com
4.0 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......
| | www.fluentcpp.com
29.5 parsecs away

Travel
| 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.