VirtualBox

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


Ignore:
Timestamp:
Jan 29, 2009 6:16:07 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
42230
Message:

string.cpp: enable optimization

File:
1 edited

Legend:

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

    r16369 r16384  
    126126
    127127    /**
    128      *  Allocates memory for a string capable to store \a aSize - 1 characters
    129      *  plus the terminating zero character. If \a aSize is zero, or if a
    130      *  memory allocation error occurs, this object will become null.
     128     *  Allocates memory for a string capable to store \a aSize - 1 characters;
     129     *  in other words, aSize includes the terminating zero character. If \a aSize
     130     *  is zero, or if a memory allocation error occurs, this object will become null.
    131131     */
    132132    Bstr &alloc (size_t aSize)
     
    389389
    390390    /**
    391      *  Allocates memory for a string capable to store \a aSize - 1 characters
    392      *  plus the terminating zero character. If \a aSize is zero, or if a
    393      *  memory allocation error occurs, this object will become null.
     391     *  Allocates memory for a string capable to store \a aSize - 1 bytes (not characters!);
     392     *  in other words, aSize includes the terminating zero character. If \a aSize
     393     *  is zero, or if a memory allocation error occurs, this object will become null.
    394394     */
    395395    Utf8Str &alloc (size_t aSize)
Note: See TracChangeset for help on using the changeset viewer.

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