Loading...
Searching...
No Matches
TfBits::FastHash Struct Reference

A hash functor for TfBits that is faster than Hash. More...

#include <bits.h>

Public Member Functions

size_t operator() (TfBits const &bits) const
 

Detailed Description

A hash functor for TfBits that is faster than Hash.

This hash uses the number of bits in total, the number of bits set, the first set and last set to compute the hash.

Definition at line 72 of file bits.h.

Member Function Documentation

◆ operator()()

size_t operator() ( TfBits const &  bits) const
inline

Definition at line 73 of file bits.h.


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