|
You are here |
www.bfilipek.com | ||
| | | | |
cppstories.com
|
|
| | | | | 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
|
|
| | | | | How do you initialise a string member in the constructor? By using const string&, string value and move, string_view or maybe something else? Let's have a look and compare possible options. Intro Below there's a simple class with one string member. We'd like to initialise it. For example: class UserName { std::string mName; public: UserName(const std::string& str) : mName(str) { } }; As you can see a constructor is taking const std::string& str. | |
| | | | |
www.cppstories.com
|
|
| | | | | C++11 conformance GCC 4.81 - 100% Clang 3.3 - 100% Intel 14.0 - 84% Visual C++ 2013 - 66% Another year is almost over so it is a good time to check what is going on with C++. This time more stats and real data compared to my post from the previous year. | |
| | | | |
thevisualchronicle.com
|
|
| | | 1 post published by Joe on October 26, 2025 | ||