Always have two overloaded versions of functions that take char * and const char * parameters. Declare (but don't define if not needed) ...
Always have two overloaded versions of functions that take char * and const char * parameters. Declare (but don't define if not needed) ...
Recently held ACCU 2007 conference had a track dedicated to C++ called: Future of C++ Track. I have listed the presentations in that track ...
Compile-time algorithm selection can be done using function overloading and traits idiom . It is a quite useful technique in generic program...
std::bad_exception is a useful device to handle unexpected exceptions in a C++ program , which works in conjunction with unexpected_handler....
This time lets take a brief look at some nifty C++ idioms in the Boost peer-reviewed libraries. We will talk about Boost Base-from-Member i...
This post will hopefully push you ahead to a higher level of expertise in memory management mechanics of C++ and exception safety. Here we g...
Assuming that the philosophy of Non-Virtual Interface (NVI) idiom is strictly adhered I came up with a table that summarizes the design int...
There are many ways of achieving separation of interface from implementation: 1. Using Interface Definition Language (IDL) as in CORBA 2. Br...