Recent Posts

Writing const and non-const Getters

1 minute read

One use of const_cast is to avoid duplicating code when implementing getters in a class. If you want users of your class to have write-access to a member obj...

Qt Automatic Slot Names

less than 1 minute read

I’ve been using Qt for several years now in a couple different projects. Only today did I learn about QMetaObject::connectSlotsByName.

Hacking Together a Conan Package

2 minute read

This is how I hacked together a Conan package for use with my Windows console project. I wasn’t concerned with having Conan automatically build the project’s...