Page Speed Optimization Libraries
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces
shared_string.h File Reference
#include <cstddef>
#include "base/logging.h"
#include "pagespeed/kernel/base/string.h"
#include "pagespeed/kernel/base/string_util.h"
#include "pagespeed/kernel/base/ref_counted_ptr.h"

Go to the source code of this file.


class  net_instaweb::SharedString


 Unit-test framework for wget fetcher.

Detailed Description

Implements a ref-counted string class, with full sharing. This class does not implement copy-on-write semantics, however, it does support a unique() method for determining, prior to writing, whether other references exist. Thus it is feasible to implement copy-on-write as a layer over this class.