1 /********************* */
4 ** Original author: cconway
5 ** Major contributors: mdeters
6 ** Minor contributors (to current version): none
7 ** This file is part of the CVC4 prototype.
8 ** Copyright (c) 2009, 2010 The Analysis of Computer Systems Group (ACSys)
9 ** Courant Institute of Mathematical Sciences
10 ** New York University
11 ** See the file COPYING in the top-level source directory for licensing
12 ** information.\endverbatim
14 ** \brief [[ Add one-line brief description here ]]
16 ** [[ Add lengthier description here ]]
17 ** \todo document this file
20 #ifndef __CVC4__HASH_H_
21 #define __CVC4__HASH_H_
23 #include <ext/hash_map>
24 namespace std
{ using namespace __gnu_cxx
; }
28 struct StringHashFunction
{
29 size_t operator()(const std::string
& str
) const {
30 return std::hash
<const char*>()(str
.c_str());
36 #endif /* __CVC4__HASH_H_ */