Ninja
Public Types | Public Member Functions | List of all members
std::hash< StringPiece > Struct Reference

#include <hash_map.h>

Public Types

typedef StringPiece argument_type
 
typedef size_t result_type
 

Public Member Functions

size_t operator() (StringPiece key) const
 

Detailed Description

Definition at line 28 of file hash_map.h.

Member Typedef Documentation

◆ argument_type

typedef StringPiece std::hash< StringPiece >::argument_type

Definition at line 29 of file hash_map.h.

◆ result_type

typedef size_t std::hash< StringPiece >::result_type

Definition at line 30 of file hash_map.h.

Member Function Documentation

◆ operator()()

size_t std::hash< StringPiece >::operator() ( StringPiece  key) const
inline

Definition at line 32 of file hash_map.h.

References StringPiece::len_, rapidhash(), and StringPiece::str_.


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