stlab.adobe.com Adobe Systems Incorporated

name_t Class Reference
[ABI-safe Strings]

A character string class for immutable strings. More...

#include <adobe/name.hpp>


Detailed Description

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.

Copyright © 2006-2007 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google