Also I would just add this to the top of  Base.h right after #include <bitset>

Base.h
...
#include <bitset>
#include <typeinfo>
...