Tuesday, June 21, 2011

C++ static variables

This blog says it so well, that I'll just link to it. As an extension, if you define your own type, the rule also applies to your typedef. For example,
typedef map ConfigType;
ConfigType HelperUtils::config;

Thursday, June 9, 2011

Log4cpp

It is hard to find documentation for a Log4j-like utility for C++. Here is a good resource. I'll update this post with further comments on the utility (and especially portability) of this library.