4.6.0
Freundlich's C++ toolkit
Loading...
Searching...
No Matches
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 individual 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