VirtualBox

source: vbox/trunk/src/libs/xpcom18a4/xpcom/tests/StringFactoringTests/ToDo.doc@ 65902

最後變更 在這個檔案從65902是 1,由 vboxsync 提交於 55 年 前

import

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 1.3 KB
 
1// To Do...
2
3 - Decide: do I really want to define |Equals| (i.e., so many extra signatures)
4
5 . Make |ns[C]String| rename its converting operations to, e.g., |EqualsWithConversion|,
6 |AssignWithConversion|, |CompareWithConversion|, |AppendWithConversion|, etc.
7
8 . Bring |Equals| and |Compare| into scope
9
10 . Implement chunky iterators
11
12 . Get "nsAReadableString.h" and "nsAWritableString.h" to added to the MANIFEST, etc.
13
14 - Get "nsAReadableString.h" and "nsAWritableString.h" to compile everywhere
15
16 - Add test for |Replace|...
17
18 - Add tests for Find and RFind
19
20 - Implement the Find and RFind signatures
21
22 . Fix Truncate / SetLength confusion (make SetLength the real function in |nsString|)
23
24 . Chop out conflicting |ns[C]String| operators
25
26 . Figure out how if we can make PRUnichar be wchar_t, so we get the cheap constructors,
27 ...and ensure the cheap constructors can be made to work everywhere
28
29 x Try the |static const unsigned long kLeftString = 1 - 1; /* because VC++ doesn't like =0 */| hack
30
31 . Add tests for |nsShared[C]String|
32
33 . Implement |nsShared[C]String|
34
35 - Add tests for the shared string smart pointer
36
37 . Implement the shared string smart pointer
38
39 . Figure out why StdStringWrapper isn't as good as raw std::string
40
41 - Implement a smart allocator for StdStringWrapper
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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