1 /********************* */
4 ** Top contributors (to current version):
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
12 ** \brief The integer AND operator.
15 #include "cvc4_public.h"
22 #include "base/exception.h"
23 #include "util/integer.h"
30 IntAnd(unsigned size
) : d_size(size
) {}
31 operator unsigned() const { return d_size
; }
32 }; /* struct IntAnd */
34 /* -----------------------------------------------------------------------
36 * ----------------------------------------------------------------------- */
38 inline std::ostream
& operator<<(std::ostream
& os
, const IntAnd
& ia
);
39 inline std::ostream
& operator<<(std::ostream
& os
, const IntAnd
& ia
)
41 return os
<< "[" << ia
.d_size
<< "]";
46 #endif /* CVC4__IAND_H */