Just found out classes derived from template classes must add “this->” scope qualifier when calling functions defined in the parent. More info from the C++ FAQ.