Use std::hash for API types (#6432)
authorGereon Kremer <gkremer@stanford.edu>
Tue, 27 Apr 2021 05:31:58 +0000 (07:31 +0200)
committerGitHub <noreply@github.com>
Tue, 27 Apr 2021 05:31:58 +0000 (05:31 +0000)
commit20820daece2eaf340a944ff386ffbafed1b79b75
treefc7865a1bb468fa4d3749052f65106d15532dd31
parentbaeb7af81166d709bfbbc7b8da13ac238c1e9579
Use std::hash for API types (#6432)

This PR replaces all api::*HashFunction objects by specializations of std::hash. std::hash is meant to be extended in this way, and it allows for a much cleaner usage of std::unordered_set and std::unordered_map with these types.
15 files changed:
docs/CMakeLists.txt
docs/cpp/cpp.rst
docs/cpp/kind.rst
docs/cpp/op.rst
docs/cpp/roundingmode.rst
docs/cpp/sort.rst
docs/cpp/term.rst
src/api/cpp/cvc5.cpp
src/api/cpp/cvc5.h
src/api/cpp/cvc5_kind.h
src/api/python/cvc5.pxd
src/api/python/cvc5.pxi
src/expr/symbol_manager.cpp
src/expr/symbol_table.cpp
src/parser/tptp/tptp.h