libstdc++
std::hash< string > Struct Reference

#include <basic_string.h>

Inherits std::__hash_base< _Result, _Arg >.

Public Types

typedef _Result result_type _GLIBCXX17_DEPRECATED
 
typedef _Arg argument_type _GLIBCXX17_DEPRECATED
 

Public Member Functions

size_t operator() (const string &__s) const noexcept
 

Detailed Description

std::hash specialization for string.

Definition at line 6738 of file basic_string.h.

Member Typedef Documentation

◆ _GLIBCXX17_DEPRECATED [1/2]

template<typename _Result , typename _Arg >
typedef _Result result_type std::__hash_base< _Result, _Arg >::_GLIBCXX17_DEPRECATED
inherited

Definition at line 52 of file functional_hash.h.

◆ _GLIBCXX17_DEPRECATED [2/2]

template<typename _Result , typename _Arg >
typedef _Arg argument_type std::__hash_base< _Result, _Arg >::_GLIBCXX17_DEPRECATED
inherited

Definition at line 53 of file functional_hash.h.

Member Function Documentation

◆ operator()()

size_t std::hash< string >::operator() ( const string __s) const
inlinenoexcept

Definition at line 6742 of file basic_string.h.


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