CMS 3D CMS Logo

List of all members | Public Member Functions
__gnu_cxx::hash< std::string > Struct Template Reference

#include <L1GtAlgorithmEvaluation.h>

Public Member Functions

size_t operator() (const std::string &x) const
 
size_t operator() (const std::string &x) const
 

Detailed Description

template<>
struct __gnu_cxx::hash< std::string >

Explicit template specialization of hash of a string class, which just uses the internal char* representation as a wrapper.

Definition at line 43 of file L1GtAlgorithmEvaluation.h.

Member Function Documentation

size_t __gnu_cxx::hash< std::string >::operator() ( const std::string &  x) const
inline

Definition at line 44 of file L1GtAlgorithmEvaluation.h.

44  {
45  return hash<const char *>()(x.c_str());
46  }
size_t __gnu_cxx::hash< std::string >::operator() ( const std::string &  x) const
inline

Definition at line 48 of file AlgorithmEvaluation.h.

48  {
49  return hash<const char*> ()(x.c_str());
50  }