Page Speed Optimization Libraries
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
net_instaweb::AtomCompare Struct Reference

#include "atom.h"

Public Member Functions

bool operator() (const Atom &a1, const Atom &a2) const

Detailed Description

Once interned, Atoms are very cheap to put in a set, using pointer-comparison.

Member Function Documentation

bool net_instaweb::AtomCompare::operator() ( const Atom a1,
const Atom a2 
) const

Compares pointers. Note that this assumes we don't overlap the StringPiece's, which is the case for the implementation of SymbolTable.

The documentation for this struct was generated from the following file: