/* */ #ifndef _D_STRING_FORMAT_H_ #define _D_STRING_FORMAT_H_ #include #include #include namespace aria2 { class StringFormat { private: std::string _msg; public: StringFormat(const char* fmt, ...); const std::string& str() const; }; std::ostream& operator<<(std::ostream& o, const StringFormat& fmt); } // namespace aria2 #endif // _D_STRING_FORMAT_H_