void CLogger::LogError( std::wostream const & msg )
	{
		std::wstringstream ss;
		ss << msg.rdbuf();
		LogError( ss.str() );
	}
Ejemplo n.º 2
0
unicode_ostream::unicode_ostream(std::ostream& narrow_stream,
    std::wostream& wide_stream, size_t size)
#ifdef _MSC_VER
  : std::ostream(new unicode_streambuf(wide_stream.rdbuf(), size))
#else
  : std::ostream(narrow_stream.rdbuf())