I want to you use unordered_map
for Memoization on a function f(row, int)
.
Unfortunately, I get a weird compilation error (very long and cryptic).
#include <vector>
#include <unordered_map>
#include <utility>
using namespace std;
typedef vector<bool> row;
int main(void) {
unordered_map< pair<int, row>, int > x;
}