VirtualBox

Changeset 30318 in vbox for trunk/include


Ignore:
Timestamp:
Jun 21, 2010 7:49:28 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
62876
Message:

iprt/cpp/ministring.h: Added a append variant taking a 'const char *' argument to avoid the unnecessary duplication of constant strings. (tstUtf8.cpp: Dropped some of the lisping.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/cpp/ministring.h

    r28800 r30318  
    228228
    229229    /**
     230     * Appends the string "that" to "this".
     231     *
     232     * @param   pszThat         The C string to append.
     233     *
     234     * @throws  std::bad_alloc  On allocation error.  The object is left unchanged.
     235     *
     236     * @returns Reference to the object.
     237     */
     238    MiniString &append(const char *pszThat);
     239
     240    /**
    230241     * Appends the given character to "this".
    231242     *
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette