GCC Code Coverage Report
Directory: . Exec Total Coverage
File: src/util/bool.h Lines: 2 2 100.0 %
Date: 2021-05-22 Branches: 0 0 0.0 %

Line Exec Source
1
/******************************************************************************
2
 * Top contributors (to current version):
3
 *   Morgan Deters, Mathias Preiner
4
 *
5
 * This file is part of the cvc5 project.
6
 *
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.
11
 * ****************************************************************************
12
 *
13
 * A hash function for Boolean.
14
 */
15
16
#include "cvc5_public.h"
17
18
#ifndef CVC5__BOOL_H
19
#define CVC5__BOOL_H
20
21
namespace cvc5 {
22
23
struct BoolHashFunction {
24
41506821
  inline size_t operator()(bool b) const {
25
41506821
    return b;
26
  }
27
};/* struct BoolHashFunction */
28
29
}  // namespace cvc5
30
31
#endif /* CVC5__BOOL_H */