Tag Archives: C++

Enum Enum: Only A Muppet Would Use The Old Form

I always found the handling of enumerated types in the original C++ standard to be a weak point of the language. Generally, wherever braces are used a new level of scope is defined… except in the case of enums it would seem. For example, it is not unreasonable to expect the following to compile without […]

Advertisement

The Three Amigos: C++ And Beyond 2012

Channel 9 have just posted up a Q&A session filmed at the end of this years ‘C++ And Beyond’ conference. This features, of course, the ‘three amigos’: Andrei Alexandrescu, Scott Meyers, and Herb Sutter. Actually they seem to have now been renamed the ‘big three’… maybe they don’t actually like each other that much! What […]

Visual Studio Visualizers: I Can See Clearly Now…

An important aspect of modern C++ programming is the use complex data types, whether sourced from the Standard Library, Boost or other third party libraries. This can lead to difficulties during debugging when these objects are not correctly represented in the debugger variable windows. As my own personal debugging ‘experience’ was being hampered as a […]

Singularity Pattern: Only one, there can be. Yes.

There is already an overwhelming amount of blogging and online articles on the subject of Singletons. These generally cover the issues of Why Singletons are Evil and, if so, what we should be using instead. To remind ourselves, by definition (GoF), a Singleton must: a) Ensure that only one instance of a class is created. […]

C++ Renaissance

“I haven’t seen this much attention and investment in C++ since last century – C++ conferences at record numbers, C++ compiler investments by the biggest companies in the industry (e.g., Clang), and [much more]…” – Herb Sutter. It has been said that C++ is experiencing something of a renaissance.

Effective C++11?

Although maybe still a year or two away, it looks like there may be some progress with Scott Meyers’ update to what has historically been the standard second book of C++, Effective C++. Meyers has a talk planned for the ‘C++ and Beyond’ conference later this year teasingly entitled ‘Initial Thoughts on Effective C++11’. He […]