Boost GIL


Public Member Functions | List of all members
hash_tuple< T > Struct Template Reference

Functor provided for the hashing of tuples. The following approach makes use hash_combine from boost::container_hash. Although there is a direct hashing available for tuples, this approach will ease adopting in future to a std::hash_combine. In case std::hash extends support to tuples this functor as well as the helper implementation hash_tuple_impl can be removed. More...

#include <histogram.hpp>

Public Member Functions

auto operator() (std::tuple< T... > const &t) const -> std::size_t
 

Detailed Description

template<typename... T>
struct boost::gil::detail::hash_tuple< T >

Functor provided for the hashing of tuples. The following approach makes use hash_combine from boost::container_hash. Although there is a direct hashing available for tuples, this approach will ease adopting in future to a std::hash_combine. In case std::hash extends support to tuples this functor as well as the helper implementation hash_tuple_impl can be removed.


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