namespace std { template < typename Comparator > class StringBase { public: void *c_str() { }}; typedef StringBase < char *>string; class ClumpletReader { void dump(); }; void ClumpletReader::dump() { class ClumpletDump { virtual char *getBuffer() { } public: static string hexString() { } }; ClumpletDump::hexString().c_str(); } }