ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
cloudViewer::utility::hash_tuple< TT > Struct Template Reference

#include <Helper.h>

Public Member Functions

size_t operator() (TT const &tt) const
 

Detailed Description

template<typename TT>
struct cloudViewer::utility::hash_tuple< TT >

The namespace hash_tuple defines a general hash function for std::tuple See this post for details: http://stackoverflow.com/questions/7110301 The hash_combine code is from boost Reciprocal of the golden ratio helps spread entropy and handles duplicates. See Mike Seymour in magic-numbers-in-boosthash-combine: http://stackoverflow.com/questions/4948780

Definition at line 34 of file Helper.h.

Member Function Documentation

◆ operator()()

template<typename TT >
size_t cloudViewer::utility::hash_tuple< TT >::operator() ( TT const &  tt) const
inline

Definition at line 35 of file Helper.h.


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