2.10.0
Freundlich's C++ toolkit
Public Member Functions
fcppt::range::hash< Type > Struct Template Reference

Detailed Description

template<typename Type>
struct fcppt::range::hash< Type >

Hashes a range.

This is a naive implementation for hashing a range that combines invidiual hashes of the elements in the range.

Template Parameters
TypeMust be supported by std::hash.

Public Member Functions

std::size_t operator() (Type const &) const
 

Member Function Documentation

◆ operator()()

template<typename Type >
std::size_t fcppt::range::hash< Type >::operator() ( Type const &  ) const