| # | Line 43 | Line 43 | |
|---|---|---|
| 43 | #define UTILS_BITSET_HPP | |
| 44 | ||
| 45 | #include <iostream> | |
| 46 | – | #include <functional> |
| 46 | #include <vector> | |
| 47 | namespace oopse { | |
| 48 | ||
| # | Line 143 | Line 142 | class BitSet { | |
| 142 | std::vector<char> bitset_; | |
| 143 | }; | |
| 144 | ||
| 146 | – | template<typename T> |
| 147 | – | struct logical_xor :public std::binary_function<T, T, bool> { |
| 148 | – | double operator()(T x, T y) { return x ^ y; } |
| 149 | – | }; |
| 145 | ||
| 146 | } | |
| 147 | #endif | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |