ReactOS 0.4.16-dev-329-g9223134
hash< crope > Struct Reference

#include <_rope.h>

Public Member Functions

size_t operator() (const crope &__str) const
 

Detailed Description

Definition at line 2325 of file _rope.h.

Member Function Documentation

◆ operator()()

size_t hash< crope >::operator() ( const crope __str) const
inline

Definition at line 2326 of file _rope.h.

2326 {
2327 size_t _p_size = __str.size();
2328
2329 if (0 == _p_size) return 0;
2330 return 13*__str[0] + 5*__str[_p_size - 1] + _p_size;
2331 }
size_type size() const
Definition: _rope.h:1623

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