VirtualBox

Changeset 80779 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Sep 13, 2019 2:00:08 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
133344
Message:

IPRT/RTCString: The object state isn't unchanged if printf and friends throws something, it is very much undefined, though possible somewhat valid.

File:
1 edited

Legend:

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

    r79481 r80779  
    440440     *                          the format string.
    441441     *
    442      * @throws  std::bad_alloc  On allocation error.  The object is left unchanged.
     442     * @throws  std::bad_alloc  On allocation error.  Object state is undefined.
    443443     *
    444444     * @returns Reference to the object.
     
    466466     *                          specified by the format string.
    467467     *
    468      * @throws  std::bad_alloc  On allocation error.  The object is left unchanged.
     468     * @throws  std::bad_alloc  On allocation error.  Object state is undefined.
    469469     *
    470470     * @returns Reference to the object.
     
    602602     *                          the format string.
    603603     *
    604      * @throws  std::bad_alloc  On allocation error.  The object is left unchanged.
     604     * @throws  std::bad_alloc  On allocation error.  Object state is undefined.
    605605     *
    606606     * @returns Reference to the object.
     
    628628     *                          specified by the format string.
    629629     *
    630      * @throws  std::bad_alloc  On allocation error.  The object is left unchanged.
     630     * @throws  std::bad_alloc  On allocation error.  Object state is undefined.
    631631     *
    632632     * @returns Reference to the object.
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