Skip to main content
What are the concrete classes?
- The four concrete string classes that satisfy most needs are:
-
nsString the general purpose heap-based workhorse
-
nsAutoString the short-lived stack-based temporary
-
nsXPIDLString management for C-interface strings
-
NS_LITERAL_STRING an efficient wrapper for constant literal strings in source
- and the less commonly used:
-
nsDependentString a wrapper for non-literal character buffers
- You'll see other classes when you look through the source, but they are mostly implementation details.
[Previous] [Next]