net/instaweb/util/public/shared_string.h File Reference

#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
 Reference-counted string. This class just adds the StringPiece constructor. More...

Namespaces

namespace  net_instaweb
 

NOLINT.



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
Generated on Tue May 29 16:33:45 2012 for Page Speed Optimization Libraries by  doxygen 1.6.3