Set incomplete if not applying ho extensionality (#6281)
[cvc5.git] / src / util / bool.h
1 /********************* */
2 /*! \file bool.h
3 ** \verbatim
4 ** Top contributors (to current version):
5 ** Morgan Deters, Mathias Preiner
6 ** This file is part of the CVC4 project.
7 ** Copyright (c) 2009-2021 by the authors listed in the file AUTHORS
8 ** in the top-level source directory and their institutional affiliations.
9 ** All rights reserved. See the file COPYING in the top-level source
10 ** directory for licensing information.\endverbatim
11 **
12 ** \brief A hash function for Boolean
13 **
14 ** A hash function for Boolean.
15 **/
16
17 #include "cvc4_public.h"
18
19 #ifndef CVC4__BOOL_H
20 #define CVC4__BOOL_H
21
22 namespace cvc5 {
23
24 struct BoolHashFunction {
25 inline size_t operator()(bool b) const {
26 return b;
27 }
28 };/* struct BoolHashFunction */
29
30 } // namespace cvc5
31
32 #endif /* CVC4__BOOL_H */