The Lone C++ Coder's Blog

The Lone C++ Coder's Blog

The continued diary of an experienced C++ programmer. Thoughts on C++ and other languages I play with, Emacs, functional, non functional and sometimes non-functioning programming.

Timo Geusch

2-Minute Read

<p>These are just a couple of notes for some neat tips and tricks I’ve discovered over the years when using <a href="http://www.boost.org/doc/libs/1_56_0/libs/test/doc/html/index.html">Boost.Test</a>. They may not be all that useful to everybody else but they’re the ones I tend to forget about and then end up rediscovering. I’m using most of these with recent versions of Boost and these were tested with 1.54.</p>

Timo Geusch

1-Minute Read

<p>Quick hack/warning for those using an alternative command line processor like <a href="https://jpsoft.com/tccle-cmd-replacement.html">TCC</a> and also use Xoreax’ <a href="https://www.incredibuild.com/">Incredibuild</a> for distributed builds. Incredibuild is awesome, by the way, and if you have a larger C++ project that takes a long time to build, you should use it. And no, I’m not getting paid or receive free stuff for writing that.</p>

Timo Geusch

1-Minute Read

<p>As VS2012’s C++ compiler doesn’t support “true” variadic templates, the new runtime library classes that use variadic templates are implemented using macro magic behind the scenes. In order to get the “variadic” templates to accept more than the default of five parameters, you’ll have to set _VARIADIC_MAX to the desired maximum number of parameters (between five and ten).</p>

Timo Geusch

1-Minute Read

<p>Quick update to the previous post - it looks like at least some of the videos from GoingNative 2012 are now <a href="http://channel9.msdn.com/Events/GoingNative/GoingNative-2012">available on the Channel9 page</a>.</p>

Timo Geusch

1-Minute Read

<p>I had to reinstall VS2010 at work and because I clearly didn’t think this all the way through, forgot to save my autoexp.dat file before removing the old installation. And of course I didn’t realise what had happened until I had to dig deeper into some Qt GUI code that wasn’t quite working as expected, and of course I was prompted with the raw data.</p>

Recent Posts

Categories

About

A developer's journey. Still trying to figure out this software thing after several decades.