14.6.1 Memory Management
NamedValue has the following special memory management rule:
- The index into the ContextList object. The indexing is zero-based.
- Ownership of the return values of the
name()
andvalue()
functions is maintained by the NamedValue; these return values must not be freed by the caller.
The following sections describe NamedValue member functions.