Page Speed Optimization Libraries  1.5.27.2
Classes | Namespaces
net/instaweb/util/public/shared_string.h File Reference
#include <cstddef>
#include "base/logging.h"
#include "net/instaweb/util/public/ref_counted_ptr.h"
#include "net/instaweb/util/public/string.h"
#include "net/instaweb/util/public/string_util.h"

Go to the source code of this file.

Classes

class  net_instaweb::SharedString

Namespaces

namespace  net_instaweb
 

for StringPiece



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.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines