Update of /cvsroot/libufo/ufo-0.5/include/ufo/util
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29580/include/ufo/util
Modified Files:
ustring.hpp
Log Message:
Explicitly inlined all inline methods (to mollify MinGw about dllimport linkage warnings).
Index: ustring.hpp
===================================================================
RCS file: /cvsroot/libufo/ufo-0.5/include/ufo/util/ustring.hpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** ustring.hpp 5 Jul 2005 12:06:03 -0000 1.15
--- ustring.hpp 30 Sep 2005 14:30:08 -0000 1.16
***************
*** 59,66 ****
public: // operators
! bool operator ==(UString & str) const;
! bool operator ==(const UString & str) const;
! bool operator ==(const std::string & str) const;
UString & operator =(char * str);
--- 59,66 ----
public: // operators
! inline bool operator ==(UString & str) const;
! inline bool operator ==(const UString & str) const;
! inline bool operator ==(const std::string & str) const;
UString & operator =(char * str);
***************
*** 77,81 ****
* objet gets out of scope.
*/
! const std::string & str() const;
/** Returns a reference to the internal string.
* Be careful, this changes the internal string for all UString objects
--- 77,81 ----
* objet gets out of scope.
*/
! inline const std::string & str() const;
/** Returns a reference to the internal string.
* Be careful, this changes the internal string for all UString objects
***************
*** 86,93 ****
* @see detach
*/
! std::string & str();
/** Returns a const char pointer to the shared string object. */
! const char * c_str() const;
/** Creates a local copy of the shared string. */
--- 86,93 ----
* @see detach
*/
! inline std::string & str();
/** Returns a const char pointer to the shared string object. */
! inline const char * c_str() const;
/** Creates a local copy of the shared string. */
|