mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-20 20:19:32 +00:00
ICU-2296 update readme
X-SVN-Rev: 10034
This commit is contained in:
parent
4e2e0b8492
commit
3c1af22751
1 changed files with 13 additions and 0 deletions
|
@ -218,6 +218,19 @@
|
|||
"http://oss.software.ibm.com/icu/download/2.2/">ICU 2.2 download
|
||||
page</a>.</p>
|
||||
|
||||
<h3>UnicodeString assignments</h3>
|
||||
|
||||
<p>ICU 2.4 changes the behavior of the <code>UnicodeString</code> assignment operator
|
||||
and copy constructor for where the source string is a readonly alias.
|
||||
For such strings, the copy used to also be a readonly alias to the same buffer,
|
||||
but that was seen as too dangerous (see <a href="http://www.jtcsv.com/cgibin/icu-bugs?findid=2296">Jitterbug 2296</a>).
|
||||
The new <code>fastCopyFrom()</code> member function provides the old
|
||||
assignment behavior.
|
||||
It can be used explicitly when it is known to be safe to maintain readonly aliases
|
||||
instead of cloning the buffer.
|
||||
For more information about string aliasing and other <code>UnicodeString</code> storage models
|
||||
see the <a href="http://oss.software.ibm.com/icu/userguide/strings.html">User Guide Strings chapter</a>.</p>
|
||||
|
||||
<h3>Unicode-handling macros (utf*.h)</h3>
|
||||
|
||||
<p>The macros in <code>source/common/unicode/utf*.h</code> have been
|
||||
|
|
Loading…
Add table
Reference in a new issue