You are here |
www.cppstories.com | ||
| | | |
www.bfilipek.com
|
|
| | | | Variadic Templates from C++11 is probably not a feature that you use on a daily basis. But recently, I've come across one refactoring example where I've decided to give a try and apply variadics. Intro When I was doing some work in some old UI code I've noticed several similar lines of code that looked like that: | |
| | | |
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. | |
| | | |
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. | |
| | | |
dvratil.cz
|
|
| | Thank you to everyone who reported issues and contributed to QCoro. Your help is much appreciated! Support for awaiting Qt signals with QPrivateSignal Qt has a feature where signals can be made "private" (in the sense that only class that defines the signal can emit it) by appending QPrivateSignal argument to the signal method: class MyObject : public QObject { Q_OBJECT ... Q_SIGNALS: void error(int code, const QString &message, QPrivateSignal); }; QPrivateSignal is a type that is defined inside the Q_OBJECT macro, so it's private and as such only MyObject class can emit the signal, since only MyObject can instantiate QPrivateSignal: |