]> git.lyx.org Git - lyx.git/blobdiff - src/support/lyxstring.h
use more explicit on constructors use the pimpl idom to reduce size with about 500k
[lyx.git] / src / support / lyxstring.h
index 27857ae5c20d53b9c6e9c1c5693c48aa31fae6d9..e96e9f8206c38bf2603854ccfef9787714b0a2cb 100644 (file)
@@ -163,6 +163,7 @@ public:
        lyxstring(value_type const *, size_type n);
        
        /// #lyxstring x("abc")#
+       explicit
        lyxstring(value_type const *);
        
        /// lyxstring(5, 'n') -> "nnnnn"
@@ -647,8 +648,8 @@ lyxstring operator+(lyxstring const & a, lyxstring::value_type b);
 
 void swap(lyxstring & s1, lyxstring & s2);
 
-istream & operator>>(istream &, lyxstring &);
-ostream & operator<<(ostream &, lyxstring const &);
-istream & getline(istream &, lyxstring &, lyxstring::value_type delim = '\n');
+std::istream & operator>>(std::istream &, lyxstring &);
+std::ostream & operator<<(std::ostream &, lyxstring const &);
+std::istream & getline(std::istream &, lyxstring &, lyxstring::value_type delim = '\n');
 
 #endif