Index: src/libchcore/TPath.h =================================================================== diff -u -N -rcca174e74e108de1f5729e4cc6c46d2b9a5e25a7 -rf8fcbbd1d2321cf0c8be79526c449384af654e49 --- src/libchcore/TPath.h (.../TPath.h) (revision cca174e74e108de1f5729e4cc6c46d2b9a5e25a7) +++ src/libchcore/TPath.h (.../TPath.h) (revision f8fcbbd1d2321cf0c8be79526c449384af654e49) @@ -130,6 +130,11 @@ LIBCHCORE_API TSmartPath PathFromString(const wchar_t* pszPath); LIBCHCORE_API TSmartPath PathFromWString(const TString& strPath); + + inline std::wostream& operator<<(std::wostream& os, const TSmartPath& rPath) + { + return os << std::wstring(rPath.ToString()); + } } #endif