Skip to content
Branch: master
Find file History
Sean Purcell and facebook-github-bot Add folly::hasher for empty tuples
Summary:
This ensures that we can use any tuple type in maps/other places where
hashes are useful.  Since there's only one value for an empty tuple, just
return 0.

Reviewed By: ot

Differential Revision: D14898947

fbshipit-source-id: 8fefab46df32a6cc56e43b02346bbefe4d4ec567
Latest commit c1527c0 Apr 12, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
detail
test Add folly::hasher for empty tuples Apr 12, 2019
Checksum.cpp Assorted partial applications of clang-format Sep 8, 2018
Checksum.h Assorted partial applications of clang-format Sep 8, 2018
FarmHash.h packaging for farmhash Jan 14, 2019
Hash.h Add folly::hasher for empty tuples Apr 12, 2019
SpookyHashV1.cpp Assorted partial applications of clang-format Sep 8, 2018
SpookyHashV1.h
SpookyHashV2.cpp Assorted partial applications of clang-format Sep 8, 2018
SpookyHashV2.h Assorted partial applications of clang-format Sep 8, 2018
You can’t perform that action at this time.