LZW Compressor
 All Classes Files Functions Typedefs
HashCharVector Struct Reference

Helper hash functor, to be used on character containers. More...

Public Member Functions

std::size_t operator() (const std::vector< char > &vc) const
 

Detailed Description

Helper hash functor, to be used on character containers.

Definition at line 50 of file lzw_v2.cpp.

Member Function Documentation

std::size_t HashCharVector::operator() ( const std::vector< char > &  vc) const
inline
Parameters
[in]vc
Returns
Hash of the vector of characters.

Definition at line 56 of file lzw_v2.cpp.

57  {
58  return std::hash<std::string>()(std::string(vc.cbegin(), vc.cend()));
59  }

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