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

Hash for TfBits. More...

#include <bits.h>

Public Member Functions

size_t operator() (TfBits const &bits) const
 

Detailed Description

Hash for TfBits.

This hash is linear in time as it considers all the bits between first set and last set. If you need a faster hash, see FastHash, it may be suitable for your needs.

Definition at line 61 of file bits.h.

Member Function Documentation

◆ operator()()

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

Definition at line 62 of file bits.h.


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