afc::appendToString() with base is made a template function.