VirtualBox

Changeset 91519 in vbox for trunk/include/VBox/com


Ignore:
Timestamp:
Oct 1, 2021 2:36:27 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
147211
Message:

com/string.h: Added note to Utf8StrFmt about not using it in assignments anymore.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/com/string.h

    r85314 r91519  
    13721372    Utf8StrFmt strName("program name = %s", argv[0]);
    13731373   @endcode
     1374 *
     1375 * @note    Do not use in assignments to Utf8Str variables.  Instead use
     1376 *          RTCString::printf directly on the variable!  This avoid an extra
     1377 *          temporary Utf8Str instance and assignment operation.
    13741378 */
    13751379class Utf8StrFmt : public Utf8Str
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