Tag: c++

Introduction Large code bases typically develop rules around how various code constructs should be used.  These rules help eliminate bugs resulting from common mistakes.  C++ gives programmers a good amount of power over enforcing such rules using the facilities that …

C++ Static Analysis using Clang Read More »

Tagged with: , , ,

Recently during a code review, Benoit pointed out a strange linker error, that neither of us expected.  Here’s what the situation roughly looked like: $ cat test.cpp #include <new> class Base { public:   virtual ~Base() {} }; class Derived …

C++ deleting destructors Read More »

Tagged with: ,