]> git.lyx.org Git - lyx.git/blobdiff - src/support/strfwd.h
Fix 'Export As...' in non-English localizations
[lyx.git] / src / support / strfwd.h
index 069357ff9cbdd5258e3b4b1927c5dbe77926e765..f1dcb0bca925d4b75244a996ad9ce1fbfd7829b8 100644 (file)
@@ -44,9 +44,11 @@ typedef basic_string<char, char_traits<char>, allocator<char> > string;
 
 template<class Char, class Traits> class basic_istream;
 template<class Char, class Traits> class basic_ostream;
+template<class Char, class Traits, class Allocator> class basic_ostringstream;
 
 typedef basic_istream<char, char_traits<char> > istream;
 typedef basic_ostream<char, char_traits<char> > ostream;
+typedef basic_ostringstream<char, char_traits<char>, allocator<char> > ostringstream;
 
 } // namepace std
 
@@ -63,6 +65,9 @@ typedef std::basic_istream<char_type, std::char_traits<char_type> > idocstream;
 /// Base class for UCS4 output streams
 typedef std::basic_ostream<char_type, std::char_traits<char_type> > odocstream;
 
+/// UCS4 output stringstream
+typedef std::basic_ostringstream<char_type, std::char_traits<char_type>, std::allocator<char_type> > odocstringstream;
+
 #if ! defined(USE_WCHAR_T)
 extern odocstream & operator<<(odocstream &, char);
 #endif