A name_t is a string class for immutable strings. The storage for name_t is globally pooled and strings are reused. Although an adobe::name_t can be somewhat expensive to construct, copying assignment, and equality comparisons are very fast.
- Model Of:
-
- Rationale:
- Note
- The name_t class is thread safe when compiled with BOOST_HAS_THREADS defined.
- Todo:
- The complexity of construction of a name_t is currently O(log(n)). An efficient hash implementation may improve efficiency.
- Todo:
- Serialization support for name_t is not complete, but can be enabled by defining ADOBE_SERIALIZATION.